Fix issue #1519: MGR: Maximized window state is not restored on startup. Fix 'if' statement.

This commit is contained in:
Vitalii Koshura 2016-11-08 12:28:22 +02:00 committed by Vitalii Koshura
parent 7948025bde
commit d8a82bbc0e
1 changed files with 1 additions and 1 deletions

View File

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