summaryrefslogtreecommitdiffstats
path: root/win/CS/Program.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-02-15 20:03:10 +0000
committersr55 <[email protected]>2012-02-15 20:03:10 +0000
commit1d8bc5dd7d36da0167e572762b6f20db20289012 (patch)
tree20e3a5164ff24bb6d44504e587fb14dc9a92d5bd /win/CS/Program.cs
parent4da15bcbbbd800b7af230294224f0d7248e8dd72 (diff)
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
Diffstat (limited to 'win/CS/Program.cs')
-rw-r--r--win/CS/Program.cs1
1 files changed, 1 insertions, 0 deletions
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";