Merge pull request #6725 from JosJuice/qt-cheat-manager-enable

DolphinQt2: Correct the condition for enabling Cheat Manager
This commit is contained in:
Léo Lam 2018-04-30 21:28:53 +02:00 committed by GitHub
commit 36a1b42877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);