summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2014-11-08 16:16:59 +0000
committersr55 <[email protected]>2014-11-08 16:16:59 +0000
commit685d6946a503f1db65a0ffdef7c613939e1cd913 (patch)
treedddd10bb49a5a41440e32631fc854b3a431a85bb /win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
parentae9bfd9b905296f18de701de1edab59c40ea4476 (diff)
WinGui: Improve Error message for the help menu item.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6509 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index 81558c78d..cf57289d2 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -1172,7 +1172,14 @@ namespace HandBrakeWPF.ViewModels
/// </summary>
public void LaunchHelp()
{
- Process.Start("https://trac.handbrake.fr/wiki/HandBrakeGuide");
+ try
+ {
+ Process.Start("https://trac.handbrake.fr/wiki/HandBrakeGuide");
+ }
+ catch (Exception exc)
+ {
+ this.errorService.ShowError(Resources.Main_UnableToLoadHelpMessage, Resources.Main_UnableToLoadHelpSolution, exc);
+ }
}
/// <summary>