fixed crash when adding to empty WAS_RCPT list
This commit is contained in:
parent
f0ef7ee650
commit
b89e543e63
@ -311,6 +311,7 @@ namespace ENI2.DetailViewControls
|
||||
|
||||
private void DataGridWasteReceived_CreateRequested()
|
||||
{
|
||||
if (_selectedWAS_RCPT == null) return;
|
||||
EditWasteReceivedDialog ewrd = new EditWasteReceivedDialog();
|
||||
ewrd.WasteReceived = new WasteReceived();
|
||||
ewrd.WasteReceived.WAS_RCPT = _selectedWAS_RCPT;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user