diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/OptionsView.xaml.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/OptionsView.xaml.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Views/OptionsView.xaml.cs b/win/CS/HandBrakeWPF/Views/OptionsView.xaml.cs index 31fad983d..5ff7b8ae8 100644 --- a/win/CS/HandBrakeWPF/Views/OptionsView.xaml.cs +++ b/win/CS/HandBrakeWPF/Views/OptionsView.xaml.cs @@ -12,6 +12,9 @@ namespace HandBrakeWPF.Views using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
+ using System.Windows.Navigation;
+
+ using HandBrakeWPF.ViewModels;
/// <summary>
/// Interaction logic for OptionsView.xaml
@@ -30,5 +33,10 @@ namespace HandBrakeWPF.Views {
this.versionTextBox.SelectAll();
}
+
+ private void ResetHandBrake_OnRequestNavigate(object sender, RequestNavigateEventArgs e)
+ {
+ ((OptionsViewModel)this.DataContext).ResetHandBrake();
+ }
}
}
|