From df34ee058b1285d31386ee973f056d56f13d7bf6 Mon Sep 17 00:00:00 2001 From: Jamie Mansfield Date: Mon, 12 Aug 2024 12:50:56 +0100 Subject: [PATCH] Ladybird/Qt: Don't change to new tab with 'Open in New Tab' It now just opens a new tab, without changing the current tab. --- Ladybird/Qt/Tab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ladybird/Qt/Tab.cpp b/Ladybird/Qt/Tab.cpp index 5e8632e081f..56231fb8dd0 100644 --- a/Ladybird/Qt/Tab.cpp +++ b/Ladybird/Qt/Tab.cpp @@ -852,7 +852,7 @@ void Tab::open_link(URL::URL const& url) void Tab::open_link_in_new_tab(URL::URL const& url) { - view().on_link_click(url, "_blank", 0); + view().on_link_click(url, "_blank", Web::UIEvents::Mod_Ctrl); } void Tab::copy_link_url(URL::URL const& url)