diff options
author | sr55 <[email protected]> | 2008-12-17 00:11:23 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2008-12-17 00:11:23 +0000 |
commit | e3097f34b3f5ba278a90721d131b97890d92e006 (patch) | |
tree | 4b5542c3e02b5ed014bfc8ba7545a5d69669dbfc /win/C#/frmMain.cs | |
parent | 997dbd7ebc391e35cdff807dbe18506160dbf94c (diff) |
WinGui:
- Some fixes in the new code which handles encoding across the Queue and MainWindow.
- Small UI tweaks on Activity Window and Generate Preview Window
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2039 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r-- | win/C#/frmMain.cs | 8 |
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
|