summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2007-08-31 12:32:11 +0000
committersr55 <[email protected]>2007-08-31 12:32:11 +0000
commitb3a10e705540459c4c038dd2fc795627c3af11f3 (patch)
tree693987adf1580c8d26c89ff09466646f78c8ed80 /win/C#/frmMain.cs
parentbdd995d08b5a4e7a72063ac58b8c47d629f2a070 (diff)
WinGui:
- Fixed possible cross-thread issue when closing the application (when more than 1 window is open) - Added "Quit HandBrake" to the on complete options. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@909 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r--win/C#/frmMain.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index e6db91e31..0d052bba2 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -377,7 +377,7 @@ namespace Handbrake
private void mnu_exit_Click(object sender, EventArgs e)
{
- this.Close();
+ Application.Exit();
}
#endregion
@@ -1120,6 +1120,9 @@ namespace Handbrake
case "Lock System":
LockWorkStation();
break;
+ case "Quit HandBrake":
+ Application.Exit();
+ break;
default:
break;
}