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=d10785f0cc103f8eb9e7b21893da8fe5c4d99ec6;hp=47a78f85f52d380243f8138a8104f79299c3c86c;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