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