Skip to content
Permalink
Browse files
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.
@@ -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();

0 comments on commit 4f4b336

Please sign in to comment.