summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLéo Lam <leolino.lam@gmail.com>2018-04-30 21:28:53 +0200
committerGitHub <noreply@github.com>2018-04-30 21:28:53 +0200
commit36a1b42877e5bc8541d54eb025b13bc9ae08cef2 (patch)
treefa043af7114b2a9367128a2bdefdf8fd978a4165
parentad836b9071b6ad0341bfb6a36b24862bf7df9f79 (diff)
parent1b830df2501afc81f281fde062d30d31bfa31665 (diff)
Merge pull request #6725 from JosJuice/qt-cheat-manager-enable
DolphinQt2: Correct the condition for enabling Cheat Manager
-rw-r--r--Source/Core/DolphinQt2/MenuBar.cpp2
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);