Code

Reintroduce Shift+U shortcut (make segments curves)
authorKrzysztof Kosiński <tweenk.pl@gmail.com>
Sun, 7 Nov 2010 21:15:48 +0000 (22:15 +0100)
committerKrzysztof Kosiński <tweenk.pl@gmail.com>
Sun, 7 Nov 2010 21:15:48 +0000 (22:15 +0100)
src/ui/tool/multi-path-manipulator.cpp

index 494a81a8d2394f913971103191b89225937b30a7..a85e85217ebfe64dd020dd11e9ac66ff9598ddd1 100644 (file)
@@ -628,6 +628,13 @@ bool MultiPathManipulator::event(GdkEvent *event)
                 setSegmentType(SEGMENT_STRAIGHT);
                 return true;
             }
+        case GDK_u:
+        case GDK_U:
+            if (held_only_shift(event->key)) {
+                // Shift+L - make segments curves
+                setSegmentType(SEGMENT_CUBIC_BEZIER);
+                return true;
+            }
         default:
             break;
         }