Skip to content

Commit

Permalink
tweak state resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
SirSparkles committed Jan 17, 2022
1 parent f72d859 commit 2ac72f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TVRename/Forms/UI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3758,14 +3758,14 @@ public void FillActionList()

internalCheckChange = true;

//byte[] oldState = olvAction.SaveState();
byte[] oldState = olvAction.SaveState();
olvAction.BeginUpdate();
Logger.Info("UI: Updating Actions: Adding Data");
olvAction.SetObjects(mDoc.TheActionList,true);
Logger.Info("UI: Updating Actions: Rebuilding Columns");
olvAction.RebuildColumns();
//Logger.Info("UI: Updating Actions: Restoring State");
//olvAction.RestoreState(oldState);
Logger.Info("UI: Updating Actions: Restoring State");
olvAction.RestoreState(oldState);
olvAction.EndUpdate();
Logger.Info("UI: Updating Actions: Updating CheckBoxes after action list update");
UpdateActionCheckboxes();
Expand Down

0 comments on commit 2ac72f4

Please sign in to comment.