Skip to content

Commit

Permalink
Close all picking candidates only if the view was closed/removed by user
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed Nov 15, 2017
1 parent c222f79 commit 99bf3f1
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,14 @@ public long size()

@Override
public void close(final ViewCloseReason reason)
{
if (reason == ViewCloseReason.USER_REQUEST)
{
closePickingCandidatesFromRackSystemPickingSlots();
}
}

private void closePickingCandidatesFromRackSystemPickingSlots()
{
final List<Integer> shipmentScheduleIds = getRows()
.values().stream()
Expand Down

0 comments on commit 99bf3f1

Please sign in to comment.