Skip to content

Commit

Permalink
Fixed setting of Rememberer settings when entering the editor a secon…
Browse files Browse the repository at this point in the history
…d (and further) times
  • Loading branch information
linuxgurugamer committed Jun 24, 2021
1 parent 81053b7 commit 6d75ed2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
ChangeLog

3.4.3.2
Fixed setting of Rememberer settings when entering the editor a second (and further) times

3.4.3.1
Fixed saving and loading of Rememberer cfg file

Expand Down
2 changes: 1 addition & 1 deletion EditorExtensionsRedux.version
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"MAJOR": 3,
"MINOR": 4,
"PATCH": 3,
"BUILD": 1
"BUILD": 2
},
"KSP_VERSION_MIN": {
"MAJOR": 1,
Expand Down
2 changes: 1 addition & 1 deletion EditorExtensionsRedux/AssemblyVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@

using System.Reflection;

[assembly: AssemblyVersion("3.4.3.0")]
[assembly: AssemblyVersion("3.4.3.2")]
2 changes: 1 addition & 1 deletion EditorExtensionsRedux/Rememberer/Rememberer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ public void Start()
sortAsc = Convert.ToBoolean(nodeFile.GetValue(SORTASC_NAME)); // true: ascending, false: descending
sortIndex = Convert.ToInt32(nodeFile.GetValue(SORTINDEX_NAME)); // 0: mame, 1: mass, 2: cost, 3: size
}
}
// set initial sort method
EditorPartList.Instance.partListSorter.ClickButton(sortIndex);
if (!sortAsc)
{
EditorPartList.Instance.partListSorter.ClickButton(sortIndex);
}
}
//Track the user's sort changes
EditorPartList.Instance.partListSorter.AddOnSortCallback(SortCB);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"MAJOR": 3,
"MINOR": 4,
"PATCH": 3,
"BUILD": 0
"BUILD": 2
},
"KSP_VERSION_MIN": {
"MAJOR": 1,
Expand Down

0 comments on commit 6d75ed2

Please sign in to comment.