Code

Fix rare crash when trying to drag after undo in the node tool
authorKrzysztof Kosiński <tweenk.pl@gmail.com>
Fri, 19 Nov 2010 00:38:40 +0000 (01:38 +0100)
committerKrzysztof Kosiński <tweenk.pl@gmail.com>
Fri, 19 Nov 2010 00:38:40 +0000 (01:38 +0100)
src/ui/tool/path-manipulator.cpp

index 956f48a7d8bd2b5d3d19dc711a23343fb6445643..bb8ce0fb50722c41dfca5e658fb20ac5ac7e6e05 100644 (file)
@@ -992,6 +992,8 @@ NodeList::iterator PathManipulator::extremeNode(NodeList::iterator origin, bool
 /** Called by the XML observer when something else than us modifies the path. */
 void PathManipulator::_externalChange(unsigned type)
 {
+    hideDragPoint();
+
     switch (type) {
     case PATH_CHANGE_D: {
         _getGeometry();