summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-08-27 17:57:14 +0000
committersr55 <[email protected]>2013-08-27 17:57:14 +0000
commit09130a3f2991ffaddd7fda7bf6758266e8143d2b (patch)
treec512b673ff97b97aa1f47df2a2b274eddef8aa61
parent530f47597ef140e80f450da085ff058fa74408e3 (diff)
WinGui: Update the new radio buttons to work with the presets changing.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5755 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs
index e8abd4b57..de08398bb 100644
--- a/win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/FiltersViewModel.cs
@@ -26,6 +26,9 @@ namespace HandBrakeWPF.ViewModels
/// </summary>
public class FiltersViewModel : ViewModelBase, IFiltersViewModel
{
+ /// <summary>
+ /// The is deinterlace mode.
+ /// </summary>
private bool isDeinterlaceMode;
#region Constructors and Destructors
@@ -236,6 +239,11 @@ namespace HandBrakeWPF.ViewModels
// Show / Hide the Custom Control
this.ShowDeinterlaceCustom = this.CurrentTask.Deinterlace == Deinterlace.Custom;
this.NotifyOfPropertyChange(() => this.ShowDeinterlaceCustom);
+
+ if (value != Deinterlace.Off)
+ {
+ this.IsDeinterlaceMode = true;
+ }
}
}
@@ -262,6 +270,11 @@ namespace HandBrakeWPF.ViewModels
// Show / Hide the Custom Control
this.ShowDecombCustom = this.CurrentTask.Decomb == Decomb.Custom;
this.NotifyOfPropertyChange(() => this.ShowDecombCustom);
+
+ if (value != Decomb.Off)
+ {
+ this.IsDeinterlaceMode = false;
+ }
}
}