diff options
author | sr55 <[email protected]> | 2012-07-23 18:28:21 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-07-23 18:28:21 +0000 |
commit | d45c3a5e8f2b56f55734f5816b0f62df9adfcefd (patch) | |
tree | 6ab5b607709efbe53897c469b1283c6046ec9213 /win/CS/HandBrakeWPF/ViewModels | |
parent | 6c8108e0760796e153f62de9b08325f433105bff (diff) |
WinGui: Couple UI tweaks and better text rendering throughout the app since no-one complained yet.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4873 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 30f884779..606d87a96 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -1232,11 +1232,14 @@ namespace HandBrakeWPF.ViewModels return;
}
- this.SelectedPreset.Task = new EncodeTask(this.CurrentTask);
- this.presetService.Update(this.SelectedPreset);
+ if (this.errorService.ShowMessageBox("Are you sure you wish to update the selected preset?", "Are you sure?", MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes)
+ {
+ this.SelectedPreset.Task = new EncodeTask(this.CurrentTask);
+ this.presetService.Update(this.SelectedPreset);
- this.errorService.ShowMessageBox(
- "The Preset has now been updated with your current settings.", "Preset Updated", MessageBoxButton.OK, MessageBoxImage.Information);
+ this.errorService.ShowMessageBox(
+ "The Preset has now been updated with your current settings.", "Preset Updated", MessageBoxButton.OK, MessageBoxImage.Information);
+ }
}
/// <summary>
|