undo/redo should be disabled while any dialog is open #758

Closed
opened 2025-06-13 02:23:32 +00:00 by NQNStudios · 2 comments
NQNStudios commented 2025-06-13 02:23:32 +00:00 (Migrated from github.com)

I don't know the simplest way to make opening any dialog disable the Undo and Redo menu items for as long as the dialog is open.

I don't think there are any situations where an editor dialog is open and it would be safe to pull or pop from the undo_list. Not to mention, with dialogs open, you can't see what changes.

I don't know the simplest way to make opening any dialog disable the Undo and Redo menu items for as long as the dialog is open. I don't think there are any situations where an editor dialog is open and it would be safe to pull or pop from the undo_list. Not to mention, with dialogs open, you can't see what changes.
CelticMinstrel commented 2025-06-13 05:01:22 +00:00 (Migrated from github.com)

There is an alternative option: make the edit menu undo/redo apply the active text field. Of course, that's only for dialogs that have a text field…

There is an alternative option: make the edit menu undo/redo apply the active text field. Of course, that's only for dialogs that _have_ a text field…
NQNStudios commented 2025-06-13 13:37:27 +00:00 (Migrated from github.com)

Lo and behold, your comment helped me figure out why copy/pasting text is broken in the scenario editor for Mac. #648

Lo and behold, your comment helped me figure out why copy/pasting text is broken in the scenario editor for Mac. #648
Sign in to join this conversation.
No description provided.