Fix for resizing window geometry when loading games.

This commit is contained in:
Edênis Freindorfer Azevedo 2019-04-03 06:17:08 -03:00 committed by Rafael Kitover
parent 64a9c0945f
commit d919728138
1 changed files with 2 additions and 1 deletions

View File

@ -302,7 +302,8 @@ void GameArea::LoadGame(const wxString& name)
loaded = t; loaded = t;
SetFrameTitle(); SetFrameTitle();
SetFocus(); SetFocus();
AdjustSize(true); // Use custom geometry
AdjustSize(false);
emulating = true; emulating = true;
was_paused = true; was_paused = true;
MainFrame* mf = wxGetApp().frame; MainFrame* mf = wxGetApp().frame;