Palette DnD - fix bug when the user holds the left mouse button
[scilab.git] / scilab / modules / xcos / src / java / org / scilab / modules / xcos / palette / PaletteBlockCtrl.java
index 8fb044e..6a2b718 100644 (file)
@@ -74,7 +74,7 @@ public final class PaletteBlockCtrl {
 
         DragSource dragSource = DragSource.getDefaultDragSource();
         dragSource.createDefaultDragGestureRecognizer(this.getView(),
-                DnDConstants.ACTION_COPY, DRAG_LISTENER);
+                DnDConstants.ACTION_COPY_OR_MOVE, DRAG_LISTENER);
     }
 
     /**