summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/AudioDefaultsViewModel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/AudioDefaultsViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/AudioDefaultsViewModel.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/AudioDefaultsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/AudioDefaultsViewModel.cs
index 8da815bd1..24f32211a 100644
--- a/win/CS/HandBrakeWPF/ViewModels/AudioDefaultsViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/AudioDefaultsViewModel.cs
@@ -130,6 +130,8 @@ namespace HandBrakeWPF.ViewModels
}
}
+ public bool IsApplied { get; set; }
+
/// <summary>
/// Gets SelectedLangauges.
/// </summary>
@@ -430,6 +432,11 @@ namespace HandBrakeWPF.ViewModels
this.AudioBehaviours.SelectedLangauges.Clear();
}
+ public void ResetApplied()
+ {
+ this.IsApplied = false;
+ }
+
#endregion
#region Methods
@@ -446,6 +453,7 @@ namespace HandBrakeWPF.ViewModels
public void Setup(Preset preset, EncodeTask task)
{
// Reset
+ this.IsApplied = false;
this.AudioBehaviours = new AudioBehaviours();
// Setup for this Encode Task.