summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/QueryParser.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-05-18 16:23:25 +0000
committersr55 <[email protected]>2010-05-18 16:23:25 +0000
commit9d86956c37eb3ae8bdb02275aac9e2db8cee187b (patch)
treece85ae1c15f2a9ede0321c7fba73492b1b0847a8 /win/C#/Functions/QueryParser.cs
parent8ce6a2514aa10e3ad28c34b8933238001b15c7d4 (diff)
WinGui:
- Added an exception window which allows the exceptions to be copied by the user rather than using a message box. (Long overdue). Moved some of the most common exceptions over to using it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3301 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/QueryParser.cs')
-rw-r--r--win/C#/Functions/QueryParser.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs
index 4d01c91de..8523fc178 100644
--- a/win/C#/Functions/QueryParser.cs
+++ b/win/C#/Functions/QueryParser.cs
@@ -633,7 +633,9 @@ namespace Handbrake.Functions
}
catch (Exception exc)
{
- MessageBox.Show("An error has occured in the Query Parser.\n\n" + exc, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ frmExceptionWindow exceptionWindow = new frmExceptionWindow();
+ exceptionWindow.Setup("An error has occured in the Query Parser.", exc.ToString());
+ exceptionWindow.ShowDialog();
}
#endregion