diff --git a/Studio/CelesteStudio/Settings.cs b/Studio/CelesteStudio/Settings.cs index 7753e26c..9b77afee 100644 --- a/Studio/CelesteStudio/Settings.cs +++ b/Studio/CelesteStudio/Settings.cs @@ -262,6 +262,11 @@ public static void Load() { return hotkey.Value.HotkeyFromString("+"); }); + // Apply default settings, so that nothing is in an invalid state before loading + OnChanged(); + OnThemeChanged(); + OnFontChanged(); + TryAgain: if (File.Exists(SettingsPath)) { try { @@ -334,9 +339,6 @@ The settings file should've opened itself. } else { allowSaving = true; - OnChanged(); - OnThemeChanged(); - OnFontChanged(); Save(); }