diff --git a/clientgui/BOINCGUIApp.cpp b/clientgui/BOINCGUIApp.cpp index 7c36ffd9bc..5902989b71 100644 --- a/clientgui/BOINCGUIApp.cpp +++ b/clientgui/BOINCGUIApp.cpp @@ -1190,7 +1190,7 @@ bool CBOINCGUIApp::SetActiveGUI(int iGUISelection, bool bShowWindow) { if (m_pFrame->IsIconized()) { m_pFrame->Maximize(false); } - if (BOINC_ADVANCEDGUI == iGUISelection && bWindowMaximized) { + else if (BOINC_ADVANCEDGUI == iGUISelection && bWindowMaximized) { m_pFrame->Maximize(); } m_pFrame->Raise();