From: buliabyak Date: Sat, 6 Jun 2009 21:55:55 +0000 (+0000) Subject: make alt+x work when no text is selected X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=24b73e196ad0135d1380e6c8c396752125528823;p=inkscape.git make alt+x work when no text is selected --- 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;