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.cs60
1 files changed, 32 insertions, 28 deletions
diff --git a/win/C#/frmQueue.cs b/win/C#/frmQueue.cs
index 8bb0e1910..b6d19045e 100644
--- a/win/C#/frmQueue.cs
+++ b/win/C#/frmQueue.cs
@@ -397,6 +397,32 @@ namespace Handbrake
}
/// <summary>
+ /// Edit a job
+ /// </summary>
+ /// <param name="sender">
+ /// The sender.
+ /// </param>
+ /// <param name="e">
+ /// The e.
+ /// </param>
+ private void MnuEditClick(object sender, EventArgs e)
+ {
+ if (list_queue.SelectedIndices != null)
+ {
+ lock (queue)
+ {
+ lock (list_queue)
+ {
+ int index = list_queue.SelectedIndices[0];
+ mainWindow.RecievingJob(queue.GetJob(index));
+ queue.Remove(index);
+ RedrawQueue();
+ }
+ }
+ }
+ }
+
+ /// <summary>
/// Handle the delete Menu Item
/// </summary>
/// <param name="sender">
@@ -596,39 +622,17 @@ namespace Handbrake
{
if (!queue.LastEncode.IsEmpty)
{
- queue.Add(queue.LastEncode.Query, queue.LastEncode.Source, queue.LastEncode.Destination,
- queue.LastEncode.CustomQuery);
+ queue.Add(
+ queue.LastEncode.Query,
+ queue.LastEncode.Title,
+ queue.LastEncode.Source,
+ queue.LastEncode.Destination,
+ queue.LastEncode.CustomQuery);
UpdateUiElements();
}
}
/// <summary>
- /// Edit Job
- /// </summary>
- /// <param name="sender">
- /// The sender.
- /// </param>
- /// <param name="e">
- /// The e.
- /// </param>
- private void MnuReconfigureJobClick(object sender, EventArgs e)
- {
- if (list_queue.SelectedIndices != null)
- {
- lock (queue)
- {
- lock (list_queue)
- {
- int index = list_queue.SelectedIndices[0];
- mainWindow.RecievingJob(queue.GetJob(index));
- queue.Remove(index);
- RedrawQueue();
- }
- }
- }
- }
-
- /// <summary>
/// Hide's the window when the user tries to "x" out of the window instead of closing it.
/// </summary>
/// <param name="e">