1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:37:46 +00:00

LibGUI: Collect menu and submenu actions for CommandPalette

We now not only collect actions that are children of windows but also
all actions that are part of a window's menus and submenus :^)
This commit is contained in:
networkException 2022-01-30 13:43:50 +01:00 committed by Andreas Kling
parent 3a50ab3f4c
commit f49948cc48
3 changed files with 23 additions and 0 deletions

View file

@ -51,6 +51,8 @@ public:
bool is_visible() const { return m_visible; }
NonnullOwnPtrVector<MenuItem> const& items() const { return m_items; }
private:
friend class Menubar;