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.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/win/C#/frmQueue.cs b/win/C#/frmQueue.cs
index 42cf72629..2ba5b2b2c 100644
--- a/win/C#/frmQueue.cs
+++ b/win/C#/frmQueue.cs
@@ -27,10 +27,12 @@ namespace Handbrake
Boolean cancel = false;
Process hbProc = null;
Functions.Queue queue;
+ frmMain mainWindow = null;
- public frmQueue()
+ public frmQueue(frmMain main)
{
InitializeComponent();
+ mainWindow = main;
}
/// <summary>
@@ -99,6 +101,8 @@ namespace Handbrake
// Initializes the encode process
private void btn_encode_Click(object sender, EventArgs e)
{
+ mainWindow.setLastAction("encode");
+
if (queue.count() != 0)
{
btn_encode.Enabled = false;