diff options
author | sr55 <[email protected]> | 2015-01-30 21:30:14 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-01-30 21:30:14 +0000 |
commit | dad21c4885a8bb3b5fa75cebe0e2f568ab83cb24 (patch) | |
tree | 44e092c3d7116dde3eb73dc269bc87d46e526365 /win/CS/HandBrakeWPF/ViewModels | |
parent | 5ac0189fc41a40bd761ff12afa205c9efdace8e0 (diff) |
WinGui: Fix Denoise NlMeans Custom Option not showing.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6832 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs index 84b649b21..93b5ad0d5 100644 --- a/win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs @@ -423,7 +423,7 @@ namespace HandBrakeWPF.ViewModels this.NotifyOfPropertyChange(() => this.SelectedDenoisePreset);
// Show / Hide the Custom Control
- this.ShowDenoiseCustom = this.CurrentTask.Denoise == Denoise.hqdn3d && this.CurrentTask.DenoisePreset == DenoisePreset.Custom;
+ this.ShowDenoiseCustom = this.CurrentTask.DenoisePreset == DenoisePreset.Custom;
if (value != DenoisePreset.Custom) this.CustomDenoise = string.Empty;
this.NotifyOfPropertyChange(() => this.ShowDenoiseCustom);
this.NotifyOfPropertyChange(() => this.ShowDenoiseOptions);
@@ -471,7 +471,7 @@ namespace HandBrakeWPF.ViewModels {
get
{
- return this.SelectedDenoise == Denoise.NLMeans;
+ return this.SelectedDenoise == Denoise.NLMeans && this.SelectedDenoisePreset != DenoisePreset.Custom;
}
}
|