Skip to content

Commit

Permalink
Sort Presets
Browse files Browse the repository at this point in the history
  • Loading branch information
Deaod committed Mar 23, 2023
1 parent 2784b03 commit 426b73f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/VS_UI_ClientWindow.uc
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ function UpdateActiveCategory() {
if (ActiveCategory != none) {
for (P = ActiveCategory.PresetList; P != none; P = P.Next)
Presets.AddPreset(P.Preset);
Presets.List.Items.Sort();
if (ActiveCategory.SelectedPreset != none)
Presets.FocusPreset(ActiveCategory.SelectedPreset.PresetName);
}
Expand Down

0 comments on commit 426b73f

Please sign in to comment.