Skip to content

Commit

Permalink
WinGui: When Deleting Selected records, if one of the jobs is encodin…
Browse files Browse the repository at this point in the history
…g, prompt the user one final time before deleteing to avoid any accidential deletions. HandBrake#2632
  • Loading branch information
sr55 committed Feb 12, 2020
1 parent 68d135c commit 7adb00b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ public void RemoveSelectedJobs()
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);
Expand Down

0 comments on commit 7adb00b

Please sign in to comment.