From edc9bf98907f9f794443facc7ce9072ee27af08c Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 21 Aug 2013 16:07:48 +0000 Subject: WinGui: Initial work around around a when done countdown. When a queue finishes it will now popup a window giving the user 60 seconds to cancel the when done operation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5728 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'win/CS/HandBrake.ApplicationServices/Services') diff --git a/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs b/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs index 92558f6cc..d80a485ec 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs @@ -546,6 +546,8 @@ namespace HandBrake.ApplicationServices.Services /// private void InvokeQueuePaused(EventArgs e) { + this.IsProcessing = false; + EventHandler handler = this.QueuePaused; if (handler != null) { @@ -566,6 +568,8 @@ namespace HandBrake.ApplicationServices.Services { handler(this, e); } + + this.IsProcessing = false; } /// -- cgit v1.2.3