mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:47:35 +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
|
@ -219,6 +219,9 @@ public:
|
|||
|
||||
void flush_pending_paints_immediately();
|
||||
|
||||
Menubar& menubar() { return *m_menubar; }
|
||||
Menubar const& menubar() const { return *m_menubar; }
|
||||
|
||||
protected:
|
||||
Window(Core::Object* parent = nullptr);
|
||||
virtual void wm_event(WMEvent&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue