diff options
author | sr55 <[email protected]> | 2019-11-25 21:18:14 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2019-11-25 21:18:27 +0000 |
commit | a5d359d79f28924fd0a57603793d6aa57499c49a (patch) | |
tree | 39e02a5eda92ac8b1571443408d0d4e7d2aa6652 /win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml.cs | |
parent | 8de6f15a477e0f903ed7f4d7c3344d5255b21800 (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.cs | 3 |
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(); } } |