From bb70c5d093a6b43428bcbd51a4dfaa9052f7521c Mon Sep 17 00:00:00 2001 From: buliabyak Date: Sun, 9 Apr 2006 13:12:20 +0000 Subject: [PATCH] clear nascent_object on Esc, so that click - Esc - letter does not type text --- src/text-context.cpp | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.30.2