1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:07:47 +00:00

Browser: Escape an ampersand in the menu to avoid making a shortcut

This commit is contained in:
Karol Kosek 2021-07-14 17:38:45 +02:00 committed by Andreas Kling
parent 871c51dfd3
commit 1c30f0a154

View file

@ -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();
}));