Fixed "Device" tab opening if it was opened in main menu earlier

dev-mp
krzys-h 2014-10-25 19:11:24 +02:00
parent 0d873ad43a
commit 475f222276
1 changed files with 3 additions and 0 deletions

View File

@ -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);