From f22c0ffe0c5318e87a68142add4bd981baf5b13d Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sat, 20 Nov 2021 15:22:01 +0100 Subject: LibGUI+Everywhere: Make sync requests to Clipboard server more obvious --- Userland/Applications/Browser/Tab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Applications/Browser') diff --git a/Userland/Applications/Browser/Tab.cpp b/Userland/Applications/Browser/Tab.cpp index 7fbae4a550..2463a7e21d 100644 --- a/Userland/Applications/Browser/Tab.cpp +++ b/Userland/Applications/Browser/Tab.cpp @@ -136,7 +136,7 @@ Tab::Tab(BrowserWindow& window) }; m_location_box->add_custom_context_menu_action(GUI::Action::create("Paste && Go", [this](auto&) { - auto [data, mime_type, _] = GUI::Clipboard::the().data_and_type(); + auto [data, mime_type, _] = GUI::Clipboard::the().fetch_data_and_type(); if (!mime_type.starts_with("text/")) return; auto const& paste_text = data; -- cgit v1.2.3