From 1d8bc5dd7d36da0167e572762b6f20db20289012 Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 15 Feb 2012 20:03:10 +0000 Subject: WinGui: Fix a couple of trival gui bugs and force all exceptions to be handled by the built-in exception handler rather than the .NET one. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4449 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/Program.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'win/CS/Program.cs') diff --git a/win/CS/Program.cs b/win/CS/Program.cs index 9939bfa42..fca7b0217 100644 --- a/win/CS/Program.cs +++ b/win/CS/Program.cs @@ -35,6 +35,7 @@ namespace Handbrake // Handle any unhandled exceptions AppDomain.CurrentDomain.UnhandledException += CurrentDomainUnhandledException; + Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException); // Check that HandBrakeCLI is availabl. string failedInstall = "HandBrake is not installed properly. Please reinstall HandBrake. \n\n"; -- cgit v1.2.3