From e46805d62ddb2975490a42c16a44d2232c7dbf37 Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Thu, 18 Mar 2010 03:59:43 +0100 Subject: Fix a few remaining oddities in handle scaling via keyboard (bzr r9205) --- src/ui/tool/multi-path-manipulator.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/ui/tool/multi-path-manipulator.cpp') diff --git a/src/ui/tool/multi-path-manipulator.cpp b/src/ui/tool/multi-path-manipulator.cpp index fe97058c4..2025a12d7 100644 --- a/src/ui/tool/multi-path-manipulator.cpp +++ b/src/ui/tool/multi-path-manipulator.cpp @@ -464,6 +464,7 @@ bool MultiPathManipulator::event(GdkEvent *event) } if (which == 0) break; // no handle chosen bool one_pixel = _tracker.leftAlt() || _tracker.rightAlt(); + bool handled = true; switch (key) { // single handle functions @@ -485,8 +486,12 @@ bool MultiPathManipulator::event(GdkEvent *event) case GDK_less: pm.scaleHandle(n, which, -1, one_pixel); break; + default: + handled = false; + break; } - return true; + + if (handled) return true; } while(0); } -- cgit v1.2.3