Code

clear nascent_object on Esc, so that click - Esc - letter does not type text
authorbuliabyak <buliabyak@users.sourceforge.net>
Sun, 9 Apr 2006 13:12:20 +0000 (13:12 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sun, 9 Apr 2006 13:12:20 +0000 (13:12 +0000)
src/text-context.cpp

index 3fcb3058a354e41325e34be204dc7bc2d14dfeae..615e02d48478673e3a08f42617b36e9f8fb6194f 100644 (file)
@@ -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) {