diff options
author | sr55 <[email protected]> | 2017-04-29 18:27:20 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2017-04-29 18:27:20 +0100 |
commit | ca348fe19a0c4bacb005c42840576b60ff636651 (patch) | |
tree | 1a2efa6752badf18755a1ae0b141a207dd146c72 /win/CS/HandBrakeWPF | |
parent | 7724e874eb3f59818fca238316fbbe6751f71290 (diff) |
WinGui: Change a message box to an error window when exceptions occur in setting the destination.
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 0c4637e6f..c11400bd7 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -733,9 +733,9 @@ namespace HandBrakeWPF.ViewModels return;
}
}
- catch (ArgumentException)
+ catch (Exception exc)
{
- this.errorService.ShowMessageBox(Resources.Main_InvalidDestination, Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);
+ this.errorService.ShowError(Resources.Main_InvalidDestination, string.Empty, value + Environment.NewLine + exc);
return;
}
|