diff options
Diffstat (limited to 'Libraries/LibGUI/GMenuItem.cpp')
-rw-r--r-- | Libraries/LibGUI/GMenuItem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/GMenuItem.cpp b/Libraries/LibGUI/GMenuItem.cpp index c07333c514..1c0c6ab57b 100644 --- a/Libraries/LibGUI/GMenuItem.cpp +++ b/Libraries/LibGUI/GMenuItem.cpp @@ -70,5 +70,5 @@ void GMenuItem::update_window_server() request.menu.shortcut_text_length = 0; } - GEventLoop::current().sync_request(request, WSAPI_ServerMessage::Type::DidUpdateMenuItem); + GEventLoop::current().connection().sync_request(request, WSAPI_ServerMessage::Type::DidUpdateMenuItem); } |