1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:17: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:
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

@ -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&);