diff options
| author | JosJuice <josjuice@gmail.com> | 2018-04-30 14:19:56 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2018-04-30 14:19:56 +0200 |
| commit | 1b830df2501afc81f281fde062d30d31bfa31665 (patch) | |
| tree | fa043af7114b2a9367128a2bdefdf8fd978a4165 /Source/Core | |
| parent | ad836b9071b6ad0341bfb6a36b24862bf7df9f79 (diff) | |
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.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt2/MenuBar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/MenuBar.cpp b/Source/Core/DolphinQt2/MenuBar.cpp index b02fd70ad2..dd7a7d243e 100644 --- a/Source/Core/DolphinQt2/MenuBar.cpp +++ b/Source/Core/DolphinQt2/MenuBar.cpp @@ -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); |
