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:
parent
3a50ab3f4c
commit
f49948cc48
3 changed files with 23 additions and 0 deletions
|
@ -51,6 +51,8 @@ public:
|
|||
|
||||
bool is_visible() const { return m_visible; }
|
||||
|
||||
NonnullOwnPtrVector<MenuItem> const& items() const { return m_items; }
|
||||
|
||||
private:
|
||||
friend class Menubar;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue