Use sorted info

This commit is contained in:
Jack251970 2025-07-10 22:46:18 +08:00
parent 476d846995
commit 3dcf22ec45

View file

@ -61,7 +61,7 @@ public partial class SettingsPaneHotkey
};
var sortedHotkeyInfo = hotkeyInfo.OrderBy(h => h.Id).ToList();
foreach (var hotkey in hotkeyInfo)
foreach (var hotkey in sortedHotkeyInfo)
{
// Skip invisible hotkeys
if (!hotkey.Visible) continue;