diff options
Diffstat (limited to 'src/ui/tool/multi-path-manipulator.cpp')
| -rw-r--r-- | src/ui/tool/multi-path-manipulator.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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); } |
