summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-04-29 18:27:20 +0100
committersr55 <[email protected]>2017-04-29 18:27:20 +0100
commitca348fe19a0c4bacb005c42840576b60ff636651 (patch)
tree1a2efa6752badf18755a1ae0b141a207dd146c72 /win
parent7724e874eb3f59818fca238316fbbe6751f71290 (diff)
WinGui: Change a message box to an error window when exceptions occur in setting the destination.
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs4
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;
}