From: Reino Ruusu Date: Thu, 12 Mar 2020 13:07:05 +0000 (+0200) Subject: Fix validation message for turn angle values in component selection X-Git-Tag: v1.43.0~39 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F86%2F3986%2F1;p=simantics%2F3d.git Fix validation message for turn angle values in component selection gitlab #105 Change-Id: Iaca69cf570f1d47e4b7df26fdfe4b03f09149fe8 --- 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 da764775..fb506092 100644 --- a/org.simantics.plant3d/src/org/simantics/plant3d/dialog/ComponentSelectionDialog.java +++ b/org.simantics.plant3d/src/org/simantics/plant3d/dialog/ComponentSelectionDialog.java @@ -566,7 +566,7 @@ public class ComponentSelectionDialog extends Dialog implements ISelectionChange rotationAngleText.setEnabled(true); if (angle == null) { ok = false; - if (msg == null) msg = "Please provide a rotation angle"; + if (msg == null) msg = "Please provide a turn angle"; } } else { // this should not happen, since end components should not have variable, or