From: kiramt Date: Mon, 17 Oct 2016 08:24:58 +0000 (+0100) Subject: Re-attempt to fix JAL-1552 by removing extra calls to acceptDrop. X-Git-Tag: Release_2_10_0b1~3^2~14 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f37ae4bf5bc6e4d30354e20e9bb5db52ba783988;p=jalview.git Re-attempt to fix JAL-1552 by removing extra calls to acceptDrop. --- diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index 1d76f27..3f457ea 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -3183,7 +3183,6 @@ public class Desktop extends jalview.jbgui.GDesktop implements { // Works on Windows and MacOSX Cache.log.debug("Drop handled as javaFileListFlavor"); - evt.acceptDrop(DnDConstants.ACTION_COPY_OR_MOVE); for (Object file : (List) t .getTransferData(DataFlavor.javaFileListFlavor)) { @@ -3200,7 +3199,6 @@ public class Desktop extends jalview.jbgui.GDesktop implements { Cache.log.debug("Drop handled as uriListFlavor"); // This is used by Unix drag system - evt.acceptDrop(DnDConstants.ACTION_COPY_OR_MOVE); data = (String) t.getTransferData(uriListFlavor); } if (data == null) @@ -3255,7 +3253,6 @@ public class Desktop extends jalview.jbgui.GDesktop implements { Cache.log.debug("Supported transfer dataflavor: " + fl.toString()); - evt.acceptDrop(DnDConstants.ACTION_COPY_OR_MOVE); Object df = t.getTransferData(fl); if (df != null) {