mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 09:12:09 +10:00
select components when dropped
This commit is contained in:
+2
@@ -1055,7 +1055,9 @@ public class Presenter implements IPlugInPort {
|
|||||||
: componentType.getName()));
|
: componentType.getName()));
|
||||||
try {
|
try {
|
||||||
instantiationManager.setComponentTypeSlot(componentType, currentProject);
|
instantiationManager.setComponentTypeSlot(componentType, currentProject);
|
||||||
|
if (componentType != null) {
|
||||||
updateSelection(ComponentSelection.EMPTY_SELECTION);
|
updateSelection(ComponentSelection.EMPTY_SELECTION);
|
||||||
|
}
|
||||||
messageDispatcher.dispatchMessage(EventType.REPAINT);
|
messageDispatcher.dispatchMessage(EventType.REPAINT);
|
||||||
// messageDispatcher.dispatchMessage(EventType.SELECTION_CHANGED,
|
// messageDispatcher.dispatchMessage(EventType.SELECTION_CHANGED,
|
||||||
// selectedComponents);
|
// selectedComponents);
|
||||||
|
|||||||
Reference in New Issue
Block a user