Revert "meh"

This reverts commit 9d9204430e.
This commit is contained in:
Nayla Hanegan 2024-05-23 17:35:22 -04:00
commit d07549505a
9 changed files with 219 additions and 2 deletions

View file

@ -68,8 +68,6 @@ void GeneralPane::CreateLayout()
// Create layout here
CreateBasic();
CreateFallbackRegion();
#if defined(USE_ANALYTICS) && USE_ANALYTICS
@ -303,6 +301,11 @@ void GeneralPane::OnSaveConfig()
Config::ConfigChangeCallbackGuard config_guard;
auto& settings = SConfig::GetInstance();
if (AutoUpdateChecker::SystemSupportsAutoUpdates())
{
Settings::Instance().SetAutoUpdateTrack(
UpdateTrackFromIndex(m_combobox_update_track->currentIndex()));
}
#ifdef USE_DISCORD_PRESENCE
Discord::SetDiscordPresenceEnabled(m_checkbox_discord_presence->isChecked());