summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser
diff options
context:
space:
mode:
authorKarol Kosek <krkk@krkk.ct8.pl>2021-07-14 17:38:45 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-14 18:25:36 +0200
commit1c30f0a154c998bdcc0d2ce7dc7a10a736d1256d (patch)
treeab1442107158cbdc8f1dc7c6b0b5a508c55392e6 /Userland/Applications/Browser
parent871c51dfd36fd83c0601b4ac9d9f2e157609a77b (diff)
downloadserenity-1c30f0a154c998bdcc0d2ce7dc7a10a736d1256d.zip
Browser: Escape an ampersand in the menu to avoid making a shortcut
Diffstat (limited to 'Userland/Applications/Browser')
-rw-r--r--Userland/Applications/Browser/Tab.cpp2
1 files changed, 1 insertions, 1 deletions
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();
}));