Remove ValidationFail books from queue display. Nothing to see there.
This commit is contained in:
parent
d18d8c0ba4
commit
5b05c018d5
2 changed files with 21 additions and 0 deletions
|
|
@ -171,12 +171,16 @@ namespace LibationWinForms.ProcessQueue
|
|||
|
||||
if (result == ProcessBookResult.FailedRetry)
|
||||
Queue.Enqueue(nextBook);
|
||||
else if (result == ProcessBookResult.ValidationFail)
|
||||
Queue.ClearCurrent();
|
||||
else if (result == ProcessBookResult.FailedAbort)
|
||||
return;
|
||||
}
|
||||
|
||||
Queue_CompletedCountChanged(this, 0);
|
||||
counterTimer.Stop();
|
||||
virtualFlowControl2.VirtualControlCount = Queue.Count;
|
||||
UpdateAllControls();
|
||||
}
|
||||
|
||||
public void WriteLine(string text)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue