fixed non updated values (#3092)

This commit is contained in:
georgemoralis 2025-06-12 19:06:54 +03:00 committed by GitHub
parent c35141b33f
commit 1a27af6951
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -509,9 +509,8 @@ void SettingsDialog::LoadValuesFromConfig() {
toml::find_or<bool>(data, "General", "checkCompatibilityOnStartup", false)); toml::find_or<bool>(data, "General", "checkCompatibilityOnStartup", false));
#ifdef ENABLE_UPDATER #ifdef ENABLE_UPDATER
ui->updateCheckBox->setChecked(toml::find_or<bool>(data, "General", "autoUpdate", false)); ui->updateCheckBox->setChecked(m_gui_settings->GetValue(gui::gen_checkForUpdates).toBool());
ui->changelogCheckBox->setChecked( ui->changelogCheckBox->setChecked(m_gui_settings->GetValue(gui::gen_showChangeLog).toBool());
toml::find_or<bool>(data, "General", "alwaysShowChangelog", false));
QString updateChannel = m_gui_settings->GetValue(gui::gen_updateChannel).toString(); QString updateChannel = m_gui_settings->GetValue(gui::gen_updateChannel).toString();
ui->updateComboBox->setCurrentText( ui->updateComboBox->setCurrentText(