Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9744 from Techjar/fix-general-pane-netplay
Qt/GeneralPane: Refresh widget state on config change
  • Loading branch information
lioncash committed May 23, 2021
2 parents 95aadff + a33593b commit 4f4b336
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/Core/DolphinQt/Settings/GeneralPane.cpp
Expand Up @@ -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());
}
Expand Down Expand Up @@ -235,6 +236,8 @@ void GeneralPane::CreateAnalytics()

void GeneralPane::LoadConfig()
{
const QSignalBlocker blocker(this);

if (AutoUpdateChecker::SystemSupportsAutoUpdates())
{
const auto track = Settings::Instance().GetAutoUpdateTrack().toStdString();
Expand Down

0 comments on commit 4f4b336

Please sign in to comment.