diff options
author | sr55 <[email protected]> | 2021-03-06 16:57:38 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2021-03-06 16:57:38 +0000 |
commit | 905df0a84b659ead7d3678875214568472472a96 (patch) | |
tree | fd1a0a4a52ef06084e7f1e163d12c6ddc669f3a4 /win/CS/HandBrakeWPF/Converters/OptionTabConverter.cs | |
parent | 67519ee1a195afccf68e44c0f3ed21228efd8c74 (diff) |
WinGui: Remove some dead code.
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; } |