From feb363eba5e4e914893c4b096402d7d7f9a4a747 Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 25 Apr 2019 18:11:06 +0100 Subject: WinGui: Update the UI for the new deblock filter. #2028 --- win/CS/HandBrakeWPF/ViewModels/SummaryViewModel.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'win/CS/HandBrakeWPF/ViewModels/SummaryViewModel.cs') 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); } -- cgit v1.2.3