From a74b0ebd76dad0b8018936f14daf947afdd2b14f Mon Sep 17 00:00:00 2001 From: Christoph Thiede Date: Fri, 10 Jul 2020 21:00:07 +0200 Subject: [PATCH] Add missing DRAG.DROP event if transfer flavor is not supported --- .../src/de/hpi/swa/trufflesqueak/io/SqueakDisplay.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/io/SqueakDisplay.java b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/io/SqueakDisplay.java index 6ef7e6b84..26710c4cc 100644 --- a/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/io/SqueakDisplay.java +++ b/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/io/SqueakDisplay.java @@ -444,6 +444,8 @@ public void drop(final DropTargetDropEvent dtde) { } } } + image.dropPluginFileList = new String[0]; + addDragEvent(DRAG.DROP, dtde.getLocation()); dtde.rejectDrop(); }