IDEMPIERE-4209 Attachment button doesn't refresh when deleting the whole attachment

This commit is contained in:
Carlos Ruiz 2020-03-13 21:53:49 +01:00
parent aecd058f25
commit b886c593c8
1 changed files with 1 additions and 1 deletions

View File

@ -575,7 +575,6 @@ public class WAttachment extends Window implements EventListener<Event>
} else if (e.getTarget() == bDeleteAll) {
// Delete Attachment
deleteAttachment();
dispose();
} else if (e.getTarget() == bDelete) {
// Delete individual entry and Return
deleteAttachmentEntry();
@ -676,6 +675,7 @@ public class WAttachment extends Window implements EventListener<Event>
m_attachment.delete(true);
m_attachment = null;
}
dispose();
}
}
});