summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/multi-path-manipulator.cpp
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-09-06 02:25:16 +0000
committerJohn Smith <john.smith7545@yahoo.com>2012-09-06 02:25:16 +0000
commit701002a149020e89d9023dbe56c6d0ccdb5c3aca (patch)
tree13182f947b67738a1b2ee4595dce67b184a42be7 /src/ui/tool/multi-path-manipulator.cpp
parentFix for 499965 : PS Output : Convert export area to radio buttons (diff)
downloadinkscape-701002a149020e89d9023dbe56c6d0ccdb5c3aca.tar.gz
inkscape-701002a149020e89d9023dbe56c6d0ccdb5c3aca.zip
Fix for 580160 : Deleting a gradient stop using Shape tools deletes the object
(bzr r11655)
Diffstat (limited to 'src/ui/tool/multi-path-manipulator.cpp')
-rw-r--r--src/ui/tool/multi-path-manipulator.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/tool/multi-path-manipulator.cpp b/src/ui/tool/multi-path-manipulator.cpp
index eca90f40f..1f074c8da 100644
--- a/src/ui/tool/multi-path-manipulator.cpp
+++ b/src/ui/tool/multi-path-manipulator.cpp
@@ -672,6 +672,9 @@ bool MultiPathManipulator::event(SPEventContext *event_context, GdkEvent *event)
// b) ctrl+del preserves shape (del_preserves_shape is false), and control is pressed
// Hence xor
deleteNodes(del_preserves_shape ^ held_control(event->key));
+
+ // Delete any selected gradient nodes as well
+ event_context->deleteSelectedDrag(held_control(event->key));
}
return true;
case GDK_KEY_c: