mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:57:45 +00:00
LibGUI: Add Menu column to CommandPalette :^)
This patch adds a new column to CommandPalette showing the menu an action is part of
This commit is contained in:
parent
1921a166e5
commit
4af973fec6
2 changed files with 31 additions and 4 deletions
|
@ -118,6 +118,8 @@ public:
|
|||
const ActionGroup* group() const { return m_action_group.ptr(); }
|
||||
void set_group(Badge<ActionGroup>, ActionGroup*);
|
||||
|
||||
HashTable<MenuItem*> menu_items() const { return m_menu_items; }
|
||||
|
||||
private:
|
||||
Action(String, Function<void(Action&)> = nullptr, Core::Object* = nullptr, bool checkable = false);
|
||||
Action(String, const Shortcut&, Function<void(Action&)> = nullptr, Core::Object* = nullptr, bool checkable = false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue