summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2957787)
raw | patch | inline | side by side (parent: 2957787)
author | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Thu, 28 Jan 2010 19:25:14 +0000 (20:25 +0100) | ||
committer | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Thu, 28 Jan 2010 19:25:14 +0000 (20:25 +0100) |
src/ui/tool/path-manipulator.cpp | patch | blob | history |
index 4b42c16b00f040a6bfb471dc521f704b0c1bad97..2d4df86f36ad25ea71854dd671b5abe380853356 100644 (file)
void PathManipulator::_selectionChanged(SelectableControlPoint *p, bool selected)
{
+ if (selected) ++_num_selected;
+ else --_num_selected;
+
// don't do anything if we do not show handles
if (!_show_handles) return;
@@ -1279,9 +1282,6 @@ void PathManipulator::_selectionChanged(SelectableControlPoint *p, bool selected
}
}
}
-
- if (selected) ++_num_selected;
- else --_num_selected;
}
/** Removes all nodes belonging to this manipulator from the control pont selection */