Moving selected components with a mouse doesn't register file modification action and doesn't enable Undo action

This commit is contained in:
Bane Stojkovic
2025-03-09 21:21:09 +01:00
parent 7c7799ae37
commit b8a2e3a727
2 changed files with 6 additions and 21 deletions
@@ -1619,8 +1619,13 @@ public class Presenter implements IPlugInPort, IConfigListener {
}
// There is selection, so we need to finalize the drag&drop
// operation.
dragInProgress = false;
if (!preDragProject.equals(currentProject)) {
messageDispatcher.dispatchMessage(EventType.PROJECT_MODIFIED, preDragProject, currentProject, "Drag");
drawingManager.clearContinuityArea();
projectFileManager.notifyFileChange();
}
messageDispatcher.dispatchMessage(EventType.REPAINT);
dragInProgress = false;
}
@Override