diff options
author | Karol Kosek <krkk@krkk.ct8.pl> | 2021-07-14 17:38:45 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-14 18:25:36 +0200 |
commit | 1c30f0a154c998bdcc0d2ce7dc7a10a736d1256d (patch) | |
tree | ab1442107158cbdc8f1dc7c6b0b5a508c55392e6 /Userland/Applications/Browser | |
parent | 871c51dfd36fd83c0601b4ac9d9f2e157609a77b (diff) | |
download | serenity-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.cpp | 2 |
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(); })); |