diff options
author | krzys-h <krzys_h@interia.pl> | 2014-10-25 19:11:24 +0200 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2014-10-25 19:11:24 +0200 |
commit | 475f222276e3deab747433292f9a3c434764b244 (patch) | |
tree | d584dd4a6a7910b7506690237035a79f7c7be7ff | |
parent | 0d873ad43a62f7e54f59ea6b70f91089b0831981 (diff) | |
download | colobot-475f222276e3deab747433292f9a3c434764b244.tar.gz colobot-475f222276e3deab747433292f9a3c434764b244.tar.bz2 colobot-475f222276e3deab747433292f9a3c434764b244.zip |
Fixed "Device" tab opening if it was opened in main menu earlier
-rw-r--r-- | src/ui/maindialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp index 26bfbbc..c607d7a 100644 --- a/src/ui/maindialog.cpp +++ b/src/ui/maindialog.cpp @@ -1899,6 +1899,9 @@ bool CMainDialog::EventProcess(const Event &event) { StopDialog(); StartSuspend(); + #if PLATFORM_WINDOWS + if ( m_phaseSetup == PHASE_SETUPd ) m_phaseSetup = PHASE_SETUPg; + #endif if ( m_phaseSetup == PHASE_SETUPd ) ChangePhase(PHASE_SETUPds); if ( m_phaseSetup == PHASE_SETUPg ) ChangePhase(PHASE_SETUPgs); if ( m_phaseSetup == PHASE_SETUPp ) ChangePhase(PHASE_SETUPps); |