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.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/C#/frmQueue.cs b/win/C#/frmQueue.cs
index e4c5089f9..eedc10909 100644
--- a/win/C#/frmQueue.cs
+++ b/win/C#/frmQueue.cs
@@ -507,7 +507,7 @@ namespace Handbrake
/// </param>
private void ListQueueDeleteKey(object sender, KeyEventArgs e)
{
- if (e.KeyCode == Keys.Delete)
+ if (e.KeyCode == Keys.Delete && e.Modifiers == Keys.None)
DeleteSelectedItems();
}
@@ -665,7 +665,7 @@ namespace Handbrake
/// </param>
private void MnuReaddClick(object sender, EventArgs e)
{
- if (!queue.LastEncode.IsEmpty)
+ if (queue.LastEncode != null && !queue.LastEncode.IsEmpty)
{
queue.Add(
queue.LastEncode.Query,