Skip to content

Disable gridmap selection actions when nothing is selected

Rafał Mikrut requested to merge github/fork/Nehluxhes/delete_gridmap into master

Created by: Nehluxhes

Disable the gridmap actions related to the current selection (cut, clear, fill and duplicate) when nothing is selected. Effectively gray out the actions in the gridmap menu and disable the shortcuts.

Also fixes #32852 (closed)

On a side note there is now extraneous checks in the actions code to ensure there is something selected, it should not happen anymore in the editor but still can via code, don't know what is the consensus here for extra checking. I am tempted to remove them.

And it's my first PR! \o/

Merge request reports

Loading