summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/transform-handle-set.cpp
diff options
context:
space:
mode:
authoralexandru.roman <alexroman5g@gmail.com>2017-01-23 18:53:21 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2017-01-23 18:53:21 +0000
commit30fb0365f10bec566c7e57eea4ac5439d2cf325a (patch)
tree1d9f253f47b8e92d85f4190114d6bc7a00da17c1 /src/ui/tool/transform-handle-set.cpp
parent[Bug #1656713] Keys and Mouse reference: Add shortcut '7' for cycling through... (diff)
downloadinkscape-30fb0365f10bec566c7e57eea4ac5439d2cf325a.tar.gz
inkscape-30fb0365f10bec566c7e57eea4ac5439d2cf325a.zip
fix nodes reverting back during editing
Fixed bugs: - https://launchpad.net/bugs/1270989 (bzr r15435)
Diffstat (limited to 'src/ui/tool/transform-handle-set.cpp')
-rw-r--r--src/ui/tool/transform-handle-set.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/tool/transform-handle-set.cpp b/src/ui/tool/transform-handle-set.cpp
index 33015fe11..083a7d0ba 100644
--- a/src/ui/tool/transform-handle-set.cpp
+++ b/src/ui/tool/transform-handle-set.cpp
@@ -183,6 +183,11 @@ void TransformHandle::ungrabbed(GdkEventButton *)
_setState(_state);
endTransform();
_th.signal_commit.emit(getCommitEvent());
+
+ //updates the positions of the nodes
+ Inkscape::UI::Tools::NodeTool *nt = INK_NODE_TOOL(_th._desktop->event_context);
+ ControlPointSelection* selection = nt->_selected_nodes;
+ selection->setOriginalPoints();
}