summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r--win/C#/frmMain.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index 3efa040c5..d5b70e363 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -471,9 +471,13 @@ namespace Handbrake
else
query = queryGen.GenerateTheQuery(this);
- encodeQueue.add(query, text_source.Text, text_destination.Text);
- encodeQueue.write2disk("hb_queue_recovery.xml");
+ if (encodeQueue.count() == 0)
+ {
+ encodeQueue.add(query, text_source.Text, text_destination.Text);
+ encodeQueue.write2disk("hb_queue_recovery.xml");
+ }
queueWindow.setQueue(encodeQueue);
+ queueWindow.Show();
queueWindow.frmMain_encode();
setEncodeStatus(1); // Encode is running, so setup the GUI appropriately