From 9d2bb8dcd354eaa14d2ce710ec7de46dc0a9ef7b Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Wed, 28 Sep 2016 02:22:03 +0300 Subject: [PATCH] Sync git svn branch with SVN repository r33251. refs #6684 --- .../src/org/simantics/diagram/elements/TextNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.1