summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/MenuBar.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2021-09-16 06:50:21 +0200
committerAdmiral H. Curtiss <pikachu025@gmail.com>2021-09-16 08:01:26 +0200
commitaa2d089d1b588a798e33e994cbc791e35b3ecc1e (patch)
tree267a4039175d177290091ec64ec6736e498875f5 /Source/Core/DolphinQt/MenuBar.cpp
parentaee6e45386f530ebf41ac6ca11c8f26dd217f3de (diff)
Qt/MenuBar: Allow opening Cheats Manager regardless of emulation state and configuration.
Diffstat (limited to 'Source/Core/DolphinQt/MenuBar.cpp')
-rw-r--r--Source/Core/DolphinQt/MenuBar.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/Source/Core/DolphinQt/MenuBar.cpp b/Source/Core/DolphinQt/MenuBar.cpp
index 8f3509b214..1b7cb396d2 100644
--- a/Source/Core/DolphinQt/MenuBar.cpp
+++ b/Source/Core/DolphinQt/MenuBar.cpp
@@ -131,9 +131,6 @@ void MenuBar::OnEmulationStateChanged(Core::State state)
// Options
m_controllers_action->setEnabled(NetPlay::IsNetPlayRunning() ? !running : true);
- // Tools
- m_show_cheat_manager->setEnabled(Settings::Instance().GetCheatsEnabled() && running);
-
// JIT
m_jit_interpreter_core->setEnabled(running);
m_jit_block_linking->setEnabled(!running);
@@ -228,12 +225,7 @@ void MenuBar::AddToolsMenu()
tools_menu->addAction(tr("&Resource Pack Manager"), this,
[this] { emit ShowResourcePackManager(); });
- m_show_cheat_manager =
- tools_menu->addAction(tr("&Cheats Manager"), this, [this] { emit ShowCheatsManager(); });
-
- connect(&Settings::Instance(), &Settings::EnableCheatsChanged, this, [this](bool enabled) {
- m_show_cheat_manager->setEnabled(Core::GetState() != Core::State::Uninitialized && enabled);
- });
+ tools_menu->addAction(tr("&Cheats Manager"), this, [this] { emit ShowCheatsManager(); });
tools_menu->addAction(tr("FIFO Player"), this, &MenuBar::ShowFIFOPlayer);