mirror of https://github.com/BOINC/boinc.git
Fix issue #1519: MGR: Maximized window state is not restored on startup. Fix 'if' statement.
This commit is contained in:
parent
7948025bde
commit
d8a82bbc0e
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue