Merge pull request #7848 from jordan-woyak/config-change-callbacks

Common/Config: Add a utility class to defer config change callbacks.
This commit is contained in:
Mat M
2019-03-03 18:44:34 -05:00
committed by GitHub
8 changed files with 42 additions and 1 deletions

View File

@ -282,6 +282,8 @@ static QString UpdateTrackFromIndex(int index)
void GeneralPane::OnSaveConfig()
{
Config::ConfigChangeCallbackGuard config_guard;
auto& settings = SConfig::GetInstance();
if (AutoUpdateChecker::SystemSupportsAutoUpdates())
{