From 2af463dfa00da54a1582b1802f64254957eb0b7e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Krzysztof=20Kosi=C5=84ski?= Date: Thu, 28 Jan 2010 20:25:14 +0100 Subject: [PATCH] Fix some actions failing when show handles is off. --- src/ui/tool/path-manipulator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp index 4b42c16b0..2d4df86f3 100644 --- a/src/ui/tool/path-manipulator.cpp +++ b/src/ui/tool/path-manipulator.cpp @@ -1245,6 +1245,9 @@ bool PathManipulator::_handleClicked(Handle *h, GdkEventButton *event) 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 */ -- 2.30.2