summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/SummaryViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-04-25 18:11:06 +0100
committersr55 <[email protected]>2019-05-02 18:53:52 +0100
commitfeb363eba5e4e914893c4b096402d7d7f9a4a747 (patch)
tree31d485d790e58868c3ed19838e14fae3c6c9e41f /win/CS/HandBrakeWPF/ViewModels/SummaryViewModel.cs
parent851c732ad36525175db37ad9f59b31361ba8f876 (diff)
WinGui: Update the UI for the new deblock filter. #2028
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/SummaryViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/SummaryViewModel.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/SummaryViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/SummaryViewModel.cs
index b5f711e5a..add04d299 100644
--- a/win/CS/HandBrakeWPF/ViewModels/SummaryViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/SummaryViewModel.cs
@@ -31,6 +31,7 @@ namespace HandBrakeWPF.ViewModels
using HandBrakeWPF.Services.Scan.Interfaces;
using HandBrakeWPF.Services.Scan.Model;
using HandBrakeWPF.Utilities;
+ using HandBrakeWPF.ViewModelItems.Filters;
using HandBrakeWPF.ViewModels.Interfaces;
public class SummaryViewModel : ViewModelBase, ISummaryViewModel
@@ -541,7 +542,7 @@ namespace HandBrakeWPF.ViewModels
filters.Add(this.Task.Sharpen.ToString());
}
- if (this.Task.Deblock > 4)
+ if (this.Task.DeblockPreset != null && this.Task.DeblockPreset.Key != DeblockFilter.Off)
{
filters.Add(Resources.SummaryView_Deblock);
}