app: use gtk_text_buffer_delete_interactive()

instead of just gtk_text_buffer_delete() so "end-user-action" is
emitted and everything is updated.
This commit is contained in:
Michael Natterer 2010-03-01 16:03:48 +01:00
parent 11b1300b6f
commit ff50b52c72
1 changed files with 1 additions and 1 deletions

View File

@ -983,7 +983,7 @@ gimp_text_tool_delete_from_cursor (GimpTextTool *text_tool,
{
gimp_draw_tool_pause (GIMP_DRAW_TOOL (text_tool));
gtk_text_buffer_delete (buffer, &cursor, &end);
gtk_text_buffer_delete_interactive (buffer, &cursor, &end, TRUE);
gimp_draw_tool_resume (GIMP_DRAW_TOOL (text_tool));
}