Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 977c641

Browse files
committed
Additional changes for #114
1 parent 09266f2 commit 977c641

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

Interop/OptionsControl.cs

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ namespace Spedit //leave this here instead of .Interop because of reasons...
99
[Serializable]
1010
public class OptionsControl
1111
{
12-
public static int SVersion = 10;
13-
public int Version = 10;
12+
public static int SVersion = 11;
13+
public int Version = 11;
1414

1515
public byte[] Program_CryptoKey = null;
1616
public bool Program_UseHardwareSalts = true;
@@ -123,11 +123,16 @@ public void FillNullToDefaults()
123123
Editor_AutoSaveInterval = 5 * 60;
124124
this.ReCreateCryptoKey();
125125
Program.MakeRCCKAlert();
126-
}
127-
if (Version < 10)
128-
{
129-
Program_UseHardwareSalts = true;
130-
}
126+
}
127+
if (Version < 10)
128+
{
129+
Program_UseHardwareSalts = true;
130+
}
131+
if (Version < 11)
132+
{
133+
if (this.Program_AccentColor == "Cyan")
134+
this.Program_AccentColor = "Blue";
135+
}
131136
//new Optionsversion - reset new fields to default
132137
this.Version = OptionsControl.SVersion; //then Update Version afterwars
133138
}

Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Spedit
1414
{
1515
public static class Program
1616
{
17-
public const string ProgramInternalVersion = "12";
17+
public const string ProgramInternalVersion = "13";
1818

1919
public static MainWindow MainWindow;
2020
public static OptionsControl OptionsObject;

0 commit comments

Comments
 (0)