Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't show submenu shortcuts for command options #7517

Merged
merged 1 commit into from Mar 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion editor/src/clj/editor/ui.clj
Expand Up @@ -1258,7 +1258,7 @@
(user-data! menu-item ::menu-item-id id)
(when command
(.setId menu-item (name command)))
(when (some? key-combo)
(when (and (some? key-combo) (nil? user-data))
(.setAccelerator menu-item key-combo))
(when icon
(.setGraphic menu-item (wrap-menu-image (icons/get-image-view icon 16))))
Expand Down