summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2018-09-27 21:10:38 +0100
committersr55 <[email protected]>2018-09-27 21:10:38 +0100
commit66cb599bc09da22a5a1b878b68cd11104d2d0398 (patch)
tree6e3777f307e10ea24eb78da2ad7a5128e40054e1 /win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
parentc2eb8041db54caf010c142f885732763c51db3fd (diff)
WinGui: Queue -> Retry Failed context menu option. Bring over some improvements from the experimental design onto the legacy queue design that's still default.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
index dbe93bc75..aedd89b27 100644
--- a/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
@@ -573,6 +573,18 @@ namespace HandBrakeWPF.ViewModels
}
}
+ public void ResetFailed()
+ {
+ foreach (var task in this.QueueTasks)
+ {
+ if (task.Status == QueueItemStatus.Error)
+ {
+ this.RetryJob(task);
+ }
+ }
+ }
+
+
#endregion
#region Methods