From 44f6d074a3deddcbccd4bbe084a510b493f46c85 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sun, 7 Mar 2010 00:15:32 +0100 Subject: [PATCH] app: call gimp_text_tool_block_drawing() in proxy_notify() so we also correctly handle non-text and non-markup changes (e.g. via tool options). This is not exactly the right place to call block_drawing(), but all places which change change the actual content (and thus un-sync buffer and layout cursor posotions) already block drawing before the actual buffer change happens. --- app/tools/gimptexttool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/tools/gimptexttool.c b/app/tools/gimptexttool.c index a48b710401..cb945a4b86 100644 --- a/app/tools/gimptexttool.c +++ b/app/tools/gimptexttool.c @@ -1036,6 +1036,8 @@ gimp_text_tool_proxy_notify (GimpText *text, if ((pspec->flags & G_PARAM_READWRITE) == G_PARAM_READWRITE) { + gimp_text_tool_block_drawing (text_tool); + text_tool->pending = g_list_append (text_tool->pending, pspec); if (text_tool->idle_id)