summaryrefslogtreecommitdiffstats
path: root/src/text-context.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-04-09 13:12:20 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-04-09 13:12:20 +0000
commit3fc374a49d927c0ba142d0372e3d237a29cbed13 (patch)
tree76a508c951b340e7e80a5bdab8587a159cb2d021 /src/text-context.cpp
parentFixed problem when swatches were larger than provided area (diff)
downloadinkscape-3fc374a49d927c0ba142d0372e3d237a29cbed13.tar.gz
inkscape-3fc374a49d927c0ba142d0372e3d237a29cbed13.zip
clear nascent_object on Esc, so that click - Esc - letter does not type text
(bzr r466)
Diffstat (limited to 'src/text-context.cpp')
-rw-r--r--src/text-context.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/text-context.cpp b/src/text-context.cpp
index 3fcb3058a..615e02d48 100644
--- a/src/text-context.cpp
+++ b/src/text-context.cpp
@@ -1030,6 +1030,7 @@ sp_text_context_root_handler(SPEventContext *const ec, GdkEvent *const event)
} else {
SP_DT_SELECTION(ec->desktop)->clear();
}
+ tc->nascent_object = FALSE;
return TRUE;
case GDK_bracketleft:
if (tc->text) {