From 70b09e1b49c080d796fad2ea1f082339e99c6f8c Mon Sep 17 00:00:00 2001 From: bulia byak Date: Sat, 6 Jun 2009 21:55:55 +0000 Subject: make alt+x work when no text is selected (bzr r8014) --- src/text-context.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/text-context.cpp') diff --git a/src/text-context.cpp b/src/text-context.cpp index 21f74a84b..538e13e43 100644 --- a/src/text-context.cpp +++ b/src/text-context.cpp @@ -1279,6 +1279,9 @@ sp_text_context_root_handler(SPEventContext *const event_context, GdkEvent *cons } Inkscape::Rubberband::get(desktop)->stop(); } + } else if ((group0_keyval == GDK_x || group0_keyval == GDK_X) && MOD__ALT_ONLY) { + desktop->setToolboxFocusTo ("altx-text"); + return TRUE; } } break; -- cgit v1.2.3