mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
app/tools: Always push an undo step not just when a single property changes
The behavior of the text tool was such that an undo is pushed only when a single property changes, which is obviously not expected, because, e.g. if part of the text uses a different font this means that the markup changed and all "properties" stayed the same, so an undo wouldn't be pushed.
This commit is contained in:
parent
d917aef7c4
commit
f9de30fd6d
1 changed files with 1 additions and 2 deletions
|
@ -2125,8 +2125,7 @@ gimp_text_tool_apply (GimpTextTool *text_tool,
|
|||
GIMP_DRAWABLE (layer), TRUE);
|
||||
}
|
||||
|
||||
if (pspec)
|
||||
gimp_image_undo_push_text_layer (image, NULL, layer, pspec);
|
||||
gimp_image_undo_push_text_layer (image, NULL, layer, pspec);
|
||||
}
|
||||
|
||||
gimp_text_tool_apply_list (text_tool, list);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue