diff options
author | sr55 <[email protected]> | 2018-11-24 12:59:50 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2018-11-24 12:59:50 +0000 |
commit | 84a395ec86b092d91ae1757d1f2a70e54de0c547 (patch) | |
tree | 148234058ad628dbf0ec5f0b3b1c800134cb6257 /win/CS/HandBrakeWPF/Services/Presets | |
parent | 0967fc688af68462f04cebf99a30a59e6253266e (diff) |
WinGui: Tidy up a few instances of mesagebox.show.
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Presets')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Presets/PresetService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs b/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs index 42eb5c26f..ef280b5b7 100644 --- a/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs +++ b/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs @@ -917,11 +917,11 @@ namespace HandBrakeWPF.Services.Presets {
if (!this.CanUpdatePreset(preset.Name))
{
- MessageBox.Show(Resources.Main_PresetErrorBuiltInName, Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);
+ this.errorService.ShowMessageBox(Resources.Main_PresetErrorBuiltInName, Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);
return;
}
- MessageBoxResult result = MessageBox.Show(string.Format(Resources.Main_PresetOverwriteWarning, preset.Name), Resources.Overwrite, MessageBoxButton.YesNo, MessageBoxImage.Warning);
+ MessageBoxResult result = this.errorService.ShowMessageBox(string.Format(Resources.Main_PresetOverwriteWarning, preset.Name), Resources.Overwrite, MessageBoxButton.YesNo, MessageBoxImage.Warning);
if (result == MessageBoxResult.Yes)
{
this.Update(preset);
|