summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF
diff options
context:
space:
mode:
authorsr55 <[email protected]>2020-02-12 22:00:27 +0000
committersr55 <[email protected]>2020-02-12 22:00:27 +0000
commit7adb00bcc87d27bf7c484e848fa8844b4913c3f9 (patch)
treec5689b8a6cba43dfe0876cc3c298a75b7735e36f /win/CS/HandBrakeWPF
parent68d135cb03680b8286ac7c53a21236c0b7bad5c4 (diff)
WinGui: When Deleting Selected records, if one of the jobs is encoding, prompt the user one final time before deleteing to avoid any accidential deletions. #2632
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
index c3020509e..6db94474b 100644
--- a/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
@@ -399,7 +399,7 @@ namespace HandBrakeWPF.ViewModels
return;
}
- List<QueueTask> tasksToRemove = this.SelectedItems.Where(i => i.Status != QueueItemStatus.InProgress).ToList();
+ List<QueueTask> tasksToRemove = this.SelectedItems.OrderBy(s => s.Status).ToList();
foreach (QueueTask job in tasksToRemove)
{
this.RemoveJob(job);