From: Tuukka Lehtonen Date: Tue, 27 Sep 2016 23:22:03 +0000 (+0300) Subject: Sync git svn branch with SVN repository r33251. X-Git-Tag: v1.25.0~82^2 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=9d2bb8d;p=simantics%2Fplatform.git Sync git svn branch with SVN repository r33251. refs #6684 --- diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/elements/TextNode.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/elements/TextNode.java index f948bc053..ed8df095a 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/elements/TextNode.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/elements/TextNode.java @@ -327,7 +327,7 @@ public class TextNode extends G2DNode implements IDynamicSelectionPainterNode, L return null; if (hasState(STATE_EDITING) == edit) return null; - setState(STATE_EDITING); + setState(STATE_EDITING, edit); if (edit) { caret = text != null ? text.length() : 0; selectionTail = 0;