summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-11-25 21:18:14 +0000
committersr55 <[email protected]>2019-11-25 21:18:27 +0000
commita5d359d79f28924fd0a57603793d6aa57499c49a (patch)
tree39e02a5eda92ac8b1571443408d0d4e7d2aa6652 /win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml.cs
parent8de6f15a477e0f903ed7f4d7c3344d5255b21800 (diff)
WinGui: Fix a bug in the Add presets window where the Audio / Subtitle defaults would not set. Fixes #2457
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml.cs')
-rw-r--r--win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml.cs b/win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml.cs
index c0008dc73..429692903 100644
--- a/win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml.cs
+++ b/win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml.cs
@@ -12,6 +12,8 @@ namespace HandBrakeWPF.Views
using System.Windows;
using System.Windows.Controls;
+ using HandBrakeWPF.ViewModels;
+
/// <summary>
/// Interaction logic for SubtitlesDefaultsView.xaml
/// </summary>
@@ -27,6 +29,7 @@ namespace HandBrakeWPF.Views
private void Apply_OnClick(object sender, RoutedEventArgs e)
{
+ ((SubtitlesDefaultsViewModel)DataContext).IsApplied = true;
this.Close();
}
}