Skip to content
New issue

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

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

Already on GitHub? # to your account

Update Navigation panel Popup menu #1401

Merged
merged 3 commits into from
Feb 6, 2024
Merged

Update Navigation panel Popup menu #1401

merged 3 commits into from
Feb 6, 2024

Conversation

Randalphwa
Copy link
Collaborator

This PR fixes problems with the context menu invoked from the Navigation panel. It prevents duplicate separators, fixes some missing menu items on some controls, as well as removing some that were invalid.

This will *only* add a separator if the previous menu item is not already a
separator or there are no menu items. This prevents duplicate separators,
or complex logic to determine if we need one or not.
Returning false means you don't want to be followed with sizer menus
Refactor to avoid issues of duplicate separators, and missing or non-valid
menu items depending on what is selected.
@Randalphwa Randalphwa merged commit 005b23d into main Feb 6, 2024
@Randalphwa Randalphwa deleted the popup_menu branch February 6, 2024 19:33
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant