summaryrefslogtreecommitdiffstats
path: root/src/zoom-context.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/zoom-context.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/zoom-context.cpp')
-rw-r--r--src/zoom-context.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/zoom-context.cpp b/src/zoom-context.cpp
index 58eefe97a..68f58614d 100644
--- a/src/zoom-context.cpp
+++ b/src/zoom-context.cpp
@@ -238,6 +238,12 @@ static gint sp_zoom_context_root_handler(SPEventContext *event_context, GdkEvent
event_context->cursor_shape = cursor_zoom_out_xpm;
sp_event_context_update_cursor(event_context);
break;
+ case GDK_KEY_Delete:
+ case GDK_KEY_KP_Delete:
+ case GDK_KEY_BackSpace:
+ ret = event_context->deleteSelectedDrag(MOD__CTRL_ONLY);
+ break;
+
default:
break;
}