Skip to content

Commit

Permalink
Save SkipVersion setting immediately.
Browse files Browse the repository at this point in the history
  • Loading branch information
phw198 committed Sep 8, 2024
1 parent 7b0b329 commit 974ac53
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/OutlookGoogleCalendarSync/SettingsStore/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public static void InitialiseConfigFile(String filename, String directory = null
private Boolean portable;
private Boolean alphaReleases;
private String version;
private String skipVersion;
private Boolean donor;
private DateTime subscribed;
private bool? hideSplashScreen;
Expand Down Expand Up @@ -304,7 +305,13 @@ [DataMember] public Int32 CompletedSyncs {
}
[DataMember] public bool VerboseOutput { get; set; }
[DataMember] public bool MuteClickSounds { get; set; }
[DataMember] public String SkipVersion { get; set; }
[DataMember] public String SkipVersion {
get { return skipVersion; }
set {
skipVersion = value;
if (!Loading()) XMLManager.ExportElement(this, "SkipVersion", value, ConfigFile);
}
}

public static Boolean AreLoaded { get; protected set; }

Expand Down

0 comments on commit 974ac53

Please sign in to comment.