From 24b73e196ad0135d1380e6c8c396752125528823 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Sat, 6 Jun 2009 21:55:55 +0000 Subject: [PATCH] make alt+x work when no text is selected --- src/text-context.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.30.2