summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/CheatWarningWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinQt/Config/CheatWarningWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/CheatWarningWidget.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/Config/CheatWarningWidget.cpp b/Source/Core/DolphinQt/Config/CheatWarningWidget.cpp
index ee52bf9662..6c3b9638da 100644
--- a/Source/Core/DolphinQt/Config/CheatWarningWidget.cpp
+++ b/Source/Core/DolphinQt/Config/CheatWarningWidget.cpp
@@ -24,8 +24,9 @@ CheatWarningWidget::CheatWarningWidget(const std::string& game_id, bool restart_
connect(&Settings::Instance(), &Settings::EnableCheatsChanged, this,
[this] { Update(Core::IsRunning(Core::System::GetInstance())); });
- connect(&Settings::Instance(), &Settings::EmulationStateChanged, this,
- [this](Core::State state) { Update(state == Core::State::Running); });
+ connect(&Settings::Instance(), &Settings::EmulationStateChanged, this, [this](Core::State state) {
+ Update(state == Core::State::Running || state == Core::State::Paused);
+ });
Update(Core::IsRunning(Core::System::GetInstance()));
}