Repository navigation
Made save / restore size and position of the main window using wxConfig - #30
ManeFunction wants to merge 11 commits into
Conversation
|
Thanks for the PR! I will take a look when I have a chance. |
|
I tested it on both mac and windows, and while this works on mac, it does not work on windows. The call to config->Read on windows always fails. Not sure if this is an issue with wxConfig or with our usage of it here. |
|
Thank you for the test! I'll check this out a bit later if no one helps with this. |
…ave the latest visible state
|
Hello, @Ravbug! I’m really sorry this fix took so long. I forgot about this PR after I stopped using Native Hub. It launches the standard Hub, which makes the whole thing feel kind of pointless, but I’d like to start using it again, so I hope I can get this fixed, if you don’t mind. As for this PR, I’ve updated the branch, added a few features (like saving the state of the projects table), and fixed the Windows-related issue. It actually affected macOS as well, but only partially. |
Added a feature to keep main window's size and position, and not reset it on each launch. Used default wxConfig feature already included in project, so no any new tools here.
Tested on Mac, can't test it on Windows or Linux at the time. Sorry if I did something wrong, C++ is not my main language.