From 1c30f0a154c998bdcc0d2ce7dc7a10a736d1256d Mon Sep 17 00:00:00 2001 From: Karol Kosek Date: Wed, 14 Jul 2021 17:38:45 +0200 Subject: [PATCH] Browser: Escape an ampersand in the menu to avoid making a shortcut --- Userland/Applications/Browser/Tab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Applications/Browser/Tab.cpp b/Userland/Applications/Browser/Tab.cpp index e49f37c6cc..9a67166838 100644 --- a/Userland/Applications/Browser/Tab.cpp +++ b/Userland/Applications/Browser/Tab.cpp @@ -150,7 +150,7 @@ Tab::Tab(BrowserWindow& window, Type type) view().set_focus(true); }; - m_location_box->add_custom_context_menu_action(GUI::Action::create("Paste & Go", [this](auto&) { + m_location_box->add_custom_context_menu_action(GUI::Action::create("Paste && Go", [this](auto&) { m_location_box->set_text(GUI::Clipboard::the().data()); m_location_box->on_return_pressed(); }));