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.
This commit is contained in:
Michael Natterer 2010-03-07 00:15:32 +01:00
parent 2934095816
commit 44f6d074a3

View file

@ -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)