diff --git a/diylc/diylc-core/src/org/diylc/presenter/Presenter.java b/diylc/diylc-core/src/org/diylc/presenter/Presenter.java index f906f6af..3a9b701e 100644 --- a/diylc/diylc-core/src/org/diylc/presenter/Presenter.java +++ b/diylc/diylc-core/src/org/diylc/presenter/Presenter.java @@ -568,7 +568,7 @@ public class Presenter implements IPlugInPort { List> componentSlot = instantiationManager.getComponentSlot(); List> newSelection = new ArrayList>(); for (IDIYComponent component : componentSlot) { - addComponent(component, true); + currentProject.getComponents().add(component); newSelection.add(component); } // group components if there's more than one, e.g. building blocks, but not clipboard contents diff --git a/diylc/diylc-swing/update.xml b/diylc/diylc-swing/update.xml index ddd79844..57550040 100644 --- a/diylc/diylc-swing/update.xml +++ b/diylc/diylc-swing/update.xml @@ -2637,7 +2637,11 @@ IMPROVEMENT Honor "Terminal Strip" connectivity when creating a netlist - + + + BUG_FIX + Z-order of components sometimes gets wrong when importing a DIY file into another file + https://github.com/bancika/diy-layout-creator/releases