fixed creation bug with d&d

This commit is contained in:
bancika
2011-01-23 23:47:35 +00:00
parent 5806d17e56
commit 2d6927993e
@@ -524,6 +524,7 @@ public class Presenter implements IPlugInPort {
LOG.debug(String.format("dragStarted(%s)", point));
if (instantiationManager.getComponentTypeSlot() != null) {
LOG.debug("Cannot start drag because a new component is being created.");
mouseClicked(point, ctrlDown, shiftDown, altDown);
return;
}
dragInProgress = true;