summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2021-05-23 03:19:40 -0400
committerGitHub <noreply@github.com>2021-05-23 03:19:40 -0400
commit4f4b3367b5d37f1eaab7150c38e32668bfb4bdd7 (patch)
tree76db4cdc1111cdb025408a8d79212863a6c2b613 /Source/Core
parent95aadff0e7f8e5f6bbcc0d7d650e45040b417e6b (diff)
parenta33593baf774257c5fb4fa6978a1b1150efb73f3 (diff)
Merge pull request #9744 from Techjar/fix-general-pane-netplay
Qt/GeneralPane: Refresh widget state on config change
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt/Settings/GeneralPane.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Settings/GeneralPane.cpp b/Source/Core/DolphinQt/Settings/GeneralPane.cpp
index 705bdee7ed..35cc068c65 100644
--- a/Source/Core/DolphinQt/Settings/GeneralPane.cpp
+++ b/Source/Core/DolphinQt/Settings/GeneralPane.cpp
@@ -55,6 +55,7 @@ GeneralPane::GeneralPane(QWidget* parent) : QWidget(parent)
connect(&Settings::Instance(), &Settings::EmulationStateChanged, this,
&GeneralPane::OnEmulationStateChanged);
+ connect(&Settings::Instance(), &Settings::ConfigChanged, this, &GeneralPane::LoadConfig);
OnEmulationStateChanged(Core::GetState());
}
@@ -235,6 +236,8 @@ void GeneralPane::CreateAnalytics()
void GeneralPane::LoadConfig()
{
+ const QSignalBlocker blocker(this);
+
if (AutoUpdateChecker::SystemSupportsAutoUpdates())
{
const auto track = Settings::Instance().GetAutoUpdateTrack().toStdString();