DolphinQt2: Correct the condition for enabling Cheat Manager

Only the other condition, the one that runs when the cheat setting
changes, was taking into account whether emulation was running.
This commit is contained in:
JosJuice 2018-04-30 14:19:56 +02:00
parent ad836b9071
commit 1b830df250
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ void MenuBar::OnEmulationStateChanged(Core::State state)
m_recording_play->setEnabled(!running);
// Tools
m_show_cheat_manager->setEnabled(Settings::Instance().GetCheatsEnabled());
m_show_cheat_manager->setEnabled(Settings::Instance().GetCheatsEnabled() && running);
// Symbols
m_symbols->setEnabled(running);