Skip to content

Commit

Permalink
Fix UpdateModsList crash on Mono
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Dec 26, 2018
1 parent c536f13 commit 678870a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GUI/MainModList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private void _UpdateModsList(bool repo_updated, IEnumerable<ModChange> mc)
tabController.RenameTab("WaitTabPage", "Loading modules");
ShowWaitDialog(false);
tabController.SetTabLock(true);
SwitchEnabledState();
Util.Invoke(this, SwitchEnabledState);
ClearLog();

AddLogMessage("Loading registry...");
Expand Down Expand Up @@ -257,7 +257,7 @@ private void _UpdateModsList(bool repo_updated, IEnumerable<ModChange> mc)
HideWaitDialog(true);
tabController.HideTab("WaitTabPage");
tabController.SetTabLock(false);
SwitchEnabledState();
Util.Invoke(this, SwitchEnabledState);
}

public void MarkModForInstall(string identifier, bool uncheck = false)
Expand Down

0 comments on commit 678870a

Please sign in to comment.