summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2021-04-08 22:10:54 +0100
committersr55 <[email protected]>2021-04-13 20:42:02 +0100
commit4a4054f452defe76cd9a3735a1c5afd1fa39ddbc (patch)
tree06ab9839a2c63957dcbfb0289e81f3b7b01df727
parentc4ebb139b885720400b5172ee203b428f5fac109 (diff)
WinGui: Fix an issue where the queue buttons would not update correctly if the jobs were started with the queue window closed.
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
index 751003b65..822d8746b 100644
--- a/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
@@ -529,8 +529,9 @@ namespace HandBrakeWPF.ViewModels
this.queueProcessor.JobProcessingStarted += this.QueueProcessorJobProcessingStarted;
this.queueProcessor.QueuePaused += this.QueueProcessor_QueuePaused;
+ this.IsQueueRunning = this.queueProcessor.IsProcessing;
this.JobsPending = string.Format(Resources.QueueViewModel_JobsPending, this.queueProcessor.Count);
-
+
return base.OnActivateAsync(cancellationToken);
}