summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2025-01-18 18:11:04 -0500
committerGitHub <noreply@github.com>2025-01-18 18:11:04 -0500
commit8e9596e221c2433d17c1e04fc58f0753d3c1998c (patch)
tree34f13f017967cbbf543715d5d8f24be889e88ebe /Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
parentce508ba4343ca98263c800da9d027e57d3dd7824 (diff)
parent5395f21ae5a3d8fde961b6d72792d2f8472ad7cd (diff)
Merge pull request #13259 from TryTwo/PR_Config_signals
Qt: Fix some options not changing enabled status on game start.
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
index bd94cde5b8..f87190fa9a 100644
--- a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
+++ b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
@@ -232,7 +232,10 @@ void GeneralWidget::OnEmulationStateChanged(bool running)
std::string current_backend = m_backend_combo->currentData().toString().toStdString();
if (Config::Get(Config::MAIN_GFX_BACKEND) != current_backend)
{
- m_backend_combo->Load();
+ {
+ const QSignalBlocker blocker(m_backend_combo);
+ m_backend_combo->Load();
+ }
emit BackendChanged(QString::fromStdString(Config::Get(Config::MAIN_GFX_BACKEND)));
}
}