diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/Menubar.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/Menubar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/Menubar.cpp b/Userland/Libraries/LibGUI/Menubar.cpp index 4caa05ae96..8fda7c477f 100644 --- a/Userland/Libraries/LibGUI/Menubar.cpp +++ b/Userland/Libraries/LibGUI/Menubar.cpp @@ -49,7 +49,7 @@ void Menubar::notify_added_to_window(Badge<Window>) for (auto& menu : m_menus) { int menu_id = menu.realize_menu(); VERIFY(menu_id != -1); - WindowServerConnection::the().add_menu_to_menubar(m_menubar_id, menu_id); + WindowServerConnection::the().async_add_menu_to_menubar(m_menubar_id, menu_id); } } |