diff options
author | sr55 <[email protected]> | 2019-02-11 20:08:50 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2019-02-11 20:09:16 +0000 |
commit | 645beb539f63931ffcfc4fda3d35860cd3397c9e (patch) | |
tree | 71f7589b03d937e42fd0bd7e64f050648fb49496 /win/CS/HandBrakeWPF/Converters | |
parent | 05f18d9fc0fefa17f13cc7e43e5c47d36f8201ad (diff) |
WinGui: Remove hard coded ordering on the in-line presets selector.
Diffstat (limited to 'win/CS/HandBrakeWPF/Converters')
-rw-r--r-- | win/CS/HandBrakeWPF/Converters/PresetsMenuConverter.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Converters/PresetsMenuConverter.cs b/win/CS/HandBrakeWPF/Converters/PresetsMenuConverter.cs index 1baa99a60..d3a114376 100644 --- a/win/CS/HandBrakeWPF/Converters/PresetsMenuConverter.cs +++ b/win/CS/HandBrakeWPF/Converters/PresetsMenuConverter.cs @@ -41,7 +41,7 @@ namespace HandBrakeWPF.Converters } Dictionary<string, MenuItem> groupedMenu = new Dictionary<string, MenuItem>(); - foreach (IPresetObject item in presets.OrderBy(p => p.Category)) + foreach (IPresetObject item in presets) { PresetDisplayCategory category = item as PresetDisplayCategory; if (category != null) @@ -103,7 +103,7 @@ namespace HandBrakeWPF.Converters private void ProcessCategory(Dictionary<string, MenuItem> groupedMenu, PresetDisplayCategory category) { - foreach (Preset preset in category.Presets.OrderBy(p => p.Name)) + foreach (Preset preset in category.Presets) { this.ProcessPreset(groupedMenu, preset); } |