mirror of
https://github.com/RGBCube/serenity
synced 2025-07-06 02:17:34 +00:00
LibGUI: Unbreak popup menus, now that invalid menus have ID -1.
This commit is contained in:
parent
41ebb3eba3
commit
90dbf689c0
3 changed files with 17 additions and 12 deletions
|
@ -20,6 +20,6 @@ private:
|
|||
int realize_menubar();
|
||||
void unrealize_menubar();
|
||||
|
||||
int m_menubar_id { 0 };
|
||||
int m_menubar_id { -1 };
|
||||
Vector<OwnPtr<GMenu>> m_menus;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue