X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.plant3d%2Fsrc%2Forg%2Fsimantics%2Fplant3d%2Fdialog%2FComponentSelectionDialog.java;fp=org.simantics.plant3d%2Fsrc%2Forg%2Fsimantics%2Fplant3d%2Fdialog%2FComponentSelectionDialog.java;h=0c292bc8ff8a5ec2c0173e8a40f63fce4c954eea;hb=6b46ceb3c7c99a23ee905273166966d63318ae4b;hp=00b52f3bb1073b0e12e1cb43dd64b5b18f47b97d;hpb=939157c2981148dbd372ee1b3c92ed6cf13d8b4e;p=simantics%2F3d.git diff --git a/org.simantics.plant3d/src/org/simantics/plant3d/dialog/ComponentSelectionDialog.java b/org.simantics.plant3d/src/org/simantics/plant3d/dialog/ComponentSelectionDialog.java index 00b52f3b..0c292bc8 100644 --- a/org.simantics.plant3d/src/org/simantics/plant3d/dialog/ComponentSelectionDialog.java +++ b/org.simantics.plant3d/src/org/simantics/plant3d/dialog/ComponentSelectionDialog.java @@ -472,25 +472,16 @@ public class ComponentSelectionDialog extends Dialog implements ISelectionChange } if (selected.isSizeChange()) { - filterAllowed.add(PositionType.NEXT); - filterAllowed.add(PositionType.PREVIOUS); - if (inlineSplit) { - turnRadiusText.setEnabled(false); - diameterText.setEnabled(false); + turnRadiusText.setEnabled(true); + diameterText.setEnabled(true); + if (diameter == null || turnRadius == null) ok = false; - } else { - turnRadiusText.setEnabled(true); - diameterText.setEnabled(true); - if (diameter == null || turnRadius == null) - ok = false; - } - } else { turnRadiusText.setEnabled(false); diameterText.setEnabled(false); } - if (!selected.isSizeChange() && !selected.isVariable()) { + if (!selected.isVariable()) { switch (selected.getType()) { case END: filterAllowed.add(PositionType.NEXT);