Skip to content

Commit 9748d98

Browse files
Merge pull request #176 from notimaginative/fix_new_mac_hang_bug
fix hang on Mac preventing repo load
2 parents ec86590 + 7d7e611 commit 9748d98

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Knossos.NET/Classes/Knossos.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,9 @@ public async static void LoadBasePath(bool isQuickLaunch = false)
588588

589589
if (!isQuickLaunch)
590590
{
591+
//Sort/Re-sort installed mods
592+
MainWindowViewModel.Instance?.InstalledModsView?.ChangeSort(MainWindowViewModel.Instance?.sharedSortType!);
593+
591594
//Red border for mod with missing deps
592595
Dispatcher.UIThread.Invoke(() =>
593596
{
@@ -609,11 +612,6 @@ public async static void LoadBasePath(bool isQuickLaunch = false)
609612
await QuickLaunch();
610613
}
611614
}
612-
613-
Dispatcher.UIThread.Invoke(() =>
614-
{
615-
MainWindowViewModel.Instance?.InstalledModsView?.ChangeSort(MainWindowViewModel.Instance?.sharedSortType!);
616-
});
617615
}
618616

619617
/// <summary>

0 commit comments

Comments
 (0)