fix some gui items which should have been available while running, and some that shouldn't be (issue 875)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2980 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
a152639683
commit
0ef794369c
|
@ -135,14 +135,22 @@ void CConfigMain::UpdateGUI()
|
||||||
AlwaysUseHLEBIOS->Disable();
|
AlwaysUseHLEBIOS->Disable();
|
||||||
UseDynaRec->Disable();
|
UseDynaRec->Disable();
|
||||||
UseDualCore->Disable();
|
UseDualCore->Disable();
|
||||||
|
DSPThread->Disable();
|
||||||
LockThreads->Disable();
|
LockThreads->Disable();
|
||||||
OptimizeQuantizers->Disable();
|
OptimizeQuantizers->Disable();
|
||||||
SkipIdle->Disable();
|
SkipIdle->Disable();
|
||||||
EnableCheats->Disable();
|
EnableCheats->Disable();
|
||||||
|
|
||||||
GCSystemLang->Disable();
|
GCSystemLang->Disable();
|
||||||
|
|
||||||
WiiPage->Disable();
|
WiiPage->Disable();
|
||||||
|
|
||||||
PathsPage->Disable();
|
PathsPage->Disable();
|
||||||
PluginPage->Disable();
|
|
||||||
|
GraphicSelection->Disable();
|
||||||
|
DSPSelection->Disable();
|
||||||
|
PADSelection->Disable();
|
||||||
|
WiimoteSelection->Disable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -831,12 +831,12 @@ void CFrame::UpdateGUI()
|
||||||
GetMenuBar()->FindItem(wxID_OPEN)->Enable(!initialized);
|
GetMenuBar()->FindItem(wxID_OPEN)->Enable(!initialized);
|
||||||
m_pSubMenuDrive->Enable(!initialized);
|
m_pSubMenuDrive->Enable(!initialized);
|
||||||
GetMenuBar()->FindItem(wxID_REFRESH)->Enable(!initialized);
|
GetMenuBar()->FindItem(wxID_REFRESH)->Enable(!initialized);
|
||||||
|
GetMenuBar()->FindItem(IDM_BROWSE)->Enable(!initialized);
|
||||||
|
|
||||||
// Emulation
|
// Emulation
|
||||||
GetMenuBar()->FindItem(IDM_STOP)->Enable(running || paused);
|
GetMenuBar()->FindItem(IDM_STOP)->Enable(running || paused);
|
||||||
m_pSubMenuLoad->Enable(initialized);
|
m_pSubMenuLoad->Enable(initialized);
|
||||||
m_pSubMenuSave->Enable(initialized);
|
m_pSubMenuSave->Enable(initialized);
|
||||||
GetMenuBar()->FindItem(IDM_CONFIG_MAIN)->Enable(!running && !paused);
|
|
||||||
|
|
||||||
// Misc
|
// Misc
|
||||||
GetMenuBar()->FindItem(IDM_CHANGEDISC)->Enable(initialized);
|
GetMenuBar()->FindItem(IDM_CHANGEDISC)->Enable(initialized);
|
||||||
|
|
Loading…
Reference in New Issue