diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml.cs b/win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml.cs index adb6a3ef4..c0008dc73 100644 --- a/win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml.cs +++ b/win/CS/HandBrakeWPF/Views/SubtitlesDefaultsView.xaml.cs @@ -9,19 +9,25 @@ namespace HandBrakeWPF.Views { + using System.Windows; using System.Windows.Controls; /// <summary> /// Interaction logic for SubtitlesDefaultsView.xaml /// </summary> - public partial class SubtitlesDefaultsView : UserControl + public partial class SubtitlesDefaultsView : Window { /// <summary> /// Initializes a new instance of the <see cref="SubtitlesDefaultsView"/> class. /// </summary> public SubtitlesDefaultsView() { - InitializeComponent(); + this.InitializeComponent(); + } + + private void Apply_OnClick(object sender, RoutedEventArgs e) + { + this.Close(); } } } |