1
Fork 0
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:
Andreas Kling 2019-05-26 01:07:30 +02:00
parent 41ebb3eba3
commit 90dbf689c0
3 changed files with 17 additions and 12 deletions

View file

@ -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;
};