Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't show submenu shortcuts for command options
User-facing changes: Previously, sub-menus like `File -> New` and `Game Object -> Add Component` showed the same shortcut on every option item. This changeset turns this behavior off. Technical notes: I implemented the fix by only showing the key combo if the menu item does not define custom user data since this is what differentiates the options from each other. It was wrong to show the key combinations on such options because invoking a command using a key combination does not supply this user data anyway. Fixes #7442
- Loading branch information