Skip to content

Commit

Permalink
Fix for resizing window geometry when loading games.
Browse files Browse the repository at this point in the history
  • Loading branch information
denisfa authored and rkitover committed Apr 3, 2019
1 parent 64a9c09 commit d919728
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wx/panel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ void GameArea::LoadGame(const wxString& name)
loaded = t;
SetFrameTitle();
SetFocus();
AdjustSize(true);
// Use custom geometry
AdjustSize(false);
emulating = true;
was_paused = true;
MainFrame* mf = wxGetApp().frame;
Expand Down

0 comments on commit d919728

Please sign in to comment.