Skip to content

Commit

Permalink
Fix faviorate mod sorting yet again
Browse files Browse the repository at this point in the history
  • Loading branch information
Sajidur78 committed Jun 14, 2020
1 parent b61d03e commit d3b32e6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions HedgeModManager/UI/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,7 @@ public void RefreshUI()
if (mod.Favorite && !mod.Enabled)
{
ModsDatabase.Mods.Remove(mod);
ModsDatabase.Mods.Insert(
ModsDatabase.ActiveMods.Count != 0
? ModsDatabase.ActiveMods.Count - 1
: ModsDatabase.ActiveMods.Count, mod);
ModsDatabase.Mods.Insert(ModsDatabase.ActiveMods.Count, mod);
}
}

Expand Down

0 comments on commit d3b32e6

Please sign in to comment.