summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/Presets
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-09-22 22:02:54 +0100
committersr55 <[email protected]>2017-09-22 22:02:54 +0100
commit2b6a2d0478029c0f37169f25f236f040bba09dcb (patch)
treebebc37a4c54b0c75fe44377edd706098d9103ba2 /win/CS/HandBrakeWPF/Services/Presets
parent09d6e7750d0036393a4f0bc57fa2fc95dc2c18b0 (diff)
WinGui: Change the Preset Selection to a Menu based design as it offers faster navigation than 2 dropdowns.
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Presets')
-rw-r--r--win/CS/HandBrakeWPF/Services/Presets/Model/Preset.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Presets/Model/Preset.cs b/win/CS/HandBrakeWPF/Services/Presets/Model/Preset.cs
index 1afeefb94..d0cd4c617 100644
--- a/win/CS/HandBrakeWPF/Services/Presets/Model/Preset.cs
+++ b/win/CS/HandBrakeWPF/Services/Presets/Model/Preset.cs
@@ -13,6 +13,7 @@ namespace HandBrakeWPF.Services.Presets.Model
using HandBrakeWPF.Model.Audio;
using HandBrakeWPF.Model.Subtitles;
+ using HandBrakeWPF.Properties;
using HandBrakeWPF.Services.Presets.Interfaces;
using EncodeTask = HandBrakeWPF.Services.Encode.Model.EncodeTask;
@@ -76,6 +77,15 @@ namespace HandBrakeWPF.Services.Presets.Model
/// </summary>
public bool IsExpanded { get; set; }
+ public string DisplayValue
+ {
+ get
+ {
+ string globalCateogry = this.IsBuildIn ? ResourcesUI.Preset_Official : ResourcesUI.Preset_Custom;
+ return string.Format("{0} > {1} > {2}", globalCateogry, this.Category, this.Name);
+ }
+ }
+
public bool IsSelected
{
get