diff options
author | sr55 <[email protected]> | 2020-03-03 20:14:23 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2020-03-03 20:14:23 +0000 |
commit | 7880dd5e9e1a7db8fbd0f2cc3a616704b3864066 (patch) | |
tree | 4fa98834e8f2499fa52f84567cf72774625abea3 /win/CS/HandBrakeWPF/Converters | |
parent | 5605170542cbe1ae5131462912fb88e0fbfeca52 (diff) |
WinGui: Fix a localisation issue on the Point to Point Dropdown and add Title/Point to Point information on the Queue Display. Fixes #2651
Diffstat (limited to 'win/CS/HandBrakeWPF/Converters')
-rw-r--r-- | win/CS/HandBrakeWPF/Converters/Main/PointToPointConverter.cs | 19 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Converters/ResourceConverterBase.cs | 2 |
2 files changed, 20 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Converters/Main/PointToPointConverter.cs b/win/CS/HandBrakeWPF/Converters/Main/PointToPointConverter.cs new file mode 100644 index 000000000..f63b4b34c --- /dev/null +++ b/win/CS/HandBrakeWPF/Converters/Main/PointToPointConverter.cs @@ -0,0 +1,19 @@ +// -------------------------------------------------------------------------------------------------------------------- +// <copyright file="PointToPointConverter.cs" company="HandBrake Project (http://handbrake.fr)"> +// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. +// </copyright> +// <summary> +// PointToPoint Converter +// </summary> +// -------------------------------------------------------------------------------------------------------------------- + +namespace HandBrakeWPF.Converters.Main +{ + using System.Windows.Data; + + using HandBrakeWPF.Services.Encode.Model.Models; + + public class PointToPointConverter : ResourceConverterBase<PointToPointMode>, IValueConverter + { + } +} diff --git a/win/CS/HandBrakeWPF/Converters/ResourceConverterBase.cs b/win/CS/HandBrakeWPF/Converters/ResourceConverterBase.cs index 36a588f59..7f1a1b433 100644 --- a/win/CS/HandBrakeWPF/Converters/ResourceConverterBase.cs +++ b/win/CS/HandBrakeWPF/Converters/ResourceConverterBase.cs @@ -46,7 +46,7 @@ namespace HandBrakeWPF.Converters { return new BindingList<string>( - EnumHelper<T>.GetEnumDisplayValues(typeof(T)).ToList()); + EnumHelper<T>.GetEnumDisplayValuesSubset((BindingList<T>)value).ToList()); } if (value != null && value.GetType() == typeof(T)) |