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();
|
||||
UseDynaRec->Disable();
|
||||
UseDualCore->Disable();
|
||||
DSPThread->Disable();
|
||||
LockThreads->Disable();
|
||||
OptimizeQuantizers->Disable();
|
||||
SkipIdle->Disable();
|
||||
EnableCheats->Disable();
|
||||
|
||||
GCSystemLang->Disable();
|
||||
|
||||
WiiPage->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);
|
||||
m_pSubMenuDrive->Enable(!initialized);
|
||||
GetMenuBar()->FindItem(wxID_REFRESH)->Enable(!initialized);
|
||||
GetMenuBar()->FindItem(IDM_BROWSE)->Enable(!initialized);
|
||||
|
||||
// Emulation
|
||||
GetMenuBar()->FindItem(IDM_STOP)->Enable(running || paused);
|
||||
m_pSubMenuLoad->Enable(initialized);
|
||||
m_pSubMenuSave->Enable(initialized);
|
||||
GetMenuBar()->FindItem(IDM_CONFIG_MAIN)->Enable(!running && !paused);
|
||||
|
||||
// Misc
|
||||
GetMenuBar()->FindItem(IDM_CHANGEDISC)->Enable(initialized);
|
||||
|
|
Loading…
Reference in New Issue