Index: AAPClient/UI/DnaCodeScherm.pas =================================================================== diff -u -r282 -r307 --- AAPClient/UI/DnaCodeScherm.pas (.../DnaCodeScherm.pas) (revision 282) +++ AAPClient/UI/DnaCodeScherm.pas (.../DnaCodeScherm.pas) (revision 307) @@ -133,6 +133,8 @@ fWaarschuwingModalResult: TModalResult; begin inherited; + if UiContext.Toelevering = '' then + exit; if lblAantalGescand.Caption = lblTotaalAantal.Caption then begin if BepaalDirecteLevering then begin ToonPopupScherm('Directe levering', 'OK','',15,-1,-1,clBlue);