Editing Objects does not add to the undo stack

Describe the bug
Editing objects using the Properties bar or the edit object flyout does not add to the undo stack. That means it is skipped, and the previous change is undone. It also means those changes cannot be redone.

Share the complete GDevelop project showing the bug
Any project with any object shows this bug. Add any object and then try chanigng anything using the edit object dialog.

For example, edit text.
GdevelopTextUndoBug

Or move a sprite
GdevelopUndoBugSprite