mirror of https://github.com/GNOME/gimp.git
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:
parent
11b1300b6f
commit
ff50b52c72
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue