summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2021-02-14 15:10:10 +0000
committersr55 <[email protected]>2021-02-14 15:10:10 +0000
commit0edac3da81b0e1f2636b3ef7905c81758c6be018 (patch)
tree7acd57c3d1d4bee5326a6c03893e469eb0e5f860 /win
parentbc74648ccab7f8fd78e27d004fef244e4d9182a6 (diff)
WinGui: Fix grayscale filter in presets.
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrakeWPF/ViewModelItems/Filters/GrayscaleFilter.cs4
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs1
2 files changed, 1 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModelItems/Filters/GrayscaleFilter.cs b/win/CS/HandBrakeWPF/ViewModelItems/Filters/GrayscaleFilter.cs
index 0ea9f25c6..613b10c7f 100644
--- a/win/CS/HandBrakeWPF/ViewModelItems/Filters/GrayscaleFilter.cs
+++ b/win/CS/HandBrakeWPF/ViewModelItems/Filters/GrayscaleFilter.cs
@@ -9,8 +9,6 @@
namespace HandBrakeWPF.ViewModelItems.Filters
{
- using System.ComponentModel;
-
using Caliburn.Micro;
using HandBrakeWPF.Services.Encode.Model;
@@ -27,7 +25,6 @@ namespace HandBrakeWPF.ViewModelItems.Filters
{
this.triggerTabChanged = triggerTabChanged;
this.CurrentTask = currentTask;
-
}
public EncodeTask CurrentTask { get; private set; }
@@ -58,7 +55,6 @@ namespace HandBrakeWPF.ViewModelItems.Filters
}
this.Grayscale = preset.Task.Grayscale;
-
}
public void UpdateTask(EncodeTask task)
diff --git a/win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs
index 4a4266255..7de6be3d5 100644
--- a/win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs
@@ -67,6 +67,7 @@ namespace HandBrakeWPF.ViewModels
this.DeblockFilter.SetPreset(preset, task);
this.ColourSpaceFilter.SetPreset(preset, task);
this.ChromaSmoothFilter.SetPreset(preset, task);
+ this.GrayscaleFilter.SetPreset(preset, task);
}
public void UpdateTask(EncodeTask task)