UI: Menu Status Text Clears Incorrectly #120351

Merged
Harley Acheson merged 1 commits from Harley/blender:MenuStatusText into main 2024-04-07 03:02:13 +02:00

1 Commits

Author SHA1 Message Date
Harley Acheson 9fb8422c77 UI: Menu Status Text Clears Incorrectly
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
When we open dropdown (and context) menus we often show "Press spacebar
to search..." or "Type to search..." in the status bar. The status text
is set when menus are opened, and cleared when closed, but this means
that they are cleared when closing a submenu. This PR corrects this to
only clear then the base menu is freed.
2024-04-06 16:54:42 -07:00