summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2009-06-06 21:55:55 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2009-06-06 21:55:55 +0000
commit70b09e1b49c080d796fad2ea1f082339e99c6f8c (patch)
tree19df24656bca9cb36dfe58a52396c2d47c01c838
parentWhen closing a window and while asking whether to save, Inkscape should not b... (diff)
downloadinkscape-70b09e1b49c080d796fad2ea1f082339e99c6f8c.tar.gz
inkscape-70b09e1b49c080d796fad2ea1f082339e99c6f8c.zip
make alt+x work when no text is selected
(bzr r8014)
-rw-r--r--src/text-context.cpp3
1 files changed, 3 insertions, 0 deletions
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;