diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Converters/OptionTabConverter.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Converters/OptionTabConverter.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/win/CS/HandBrakeWPF/Converters/OptionTabConverter.cs b/win/CS/HandBrakeWPF/Converters/OptionTabConverter.cs index 069918a71..bc52652f4 100644 --- a/win/CS/HandBrakeWPF/Converters/OptionTabConverter.cs +++ b/win/CS/HandBrakeWPF/Converters/OptionTabConverter.cs @@ -22,14 +22,11 @@ namespace HandBrakeWPF.Converters public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { OptionsTab[] tabs = value as OptionsTab[]; - if (tabs != null && (UwpDetect.IsUWP() || !Portable.IsUpdateCheckEnabled())) + if (tabs != null && !Portable.IsUpdateCheckEnabled()) { return tabs.Where(s => s != OptionsTab.Updates).ToArray(); } - - - - + return value; } |