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:
Idriss Fekir 2025-04-04 15:27:19 +02:00 committed by Alx Sa
parent d917aef7c4
commit f9de30fd6d

View file

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