summaryrefslogtreecommitdiffstats
path: root/win/C#/frmQueue.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/frmQueue.cs')
-rw-r--r--win/C#/frmQueue.cs10
1 files changed, 7 insertions, 3 deletions
diff --git a/win/C#/frmQueue.cs b/win/C#/frmQueue.cs
index 07c0f4037..4690b51d9 100644
--- a/win/C#/frmQueue.cs
+++ b/win/C#/frmQueue.cs
@@ -120,7 +120,6 @@ namespace Handbrake
#endregion
-
#region Queue Management
private void btn_up_Click(object sender, EventArgs e)
{
@@ -162,8 +161,6 @@ namespace Handbrake
}
#endregion
-
-
#region Window Management
private void btn_Close_Click(object sender, EventArgs e)
@@ -178,5 +175,12 @@ namespace Handbrake
#endregion
+ protected override void OnClosing(CancelEventArgs e)
+ {
+ e.Cancel = true;
+ this.Hide();
+ base.OnClosing(e);
+ }
+
}
} \ No newline at end of file