UI/Qt: Move "Open in New Tab" to the top of the link context menu

This commit is contained in:
rmg-x 2024-09-22 13:14:50 -05:00 committed by Tim Ledbetter
parent 76662d2f01
commit 7a2d837c8a
Notes: github-actions[bot] 2024-09-23 07:01:34 +00:00

View file

@ -542,8 +542,8 @@ Tab::Tab(BrowserWindow* window, RefPtr<WebView::WebContentClient> parent_client,
});
m_link_context_menu = new QMenu("Link context menu", this);
m_link_context_menu->addAction(open_link_action);
m_link_context_menu->addAction(open_link_in_new_tab_action);
m_link_context_menu->addAction(open_link_action);
m_link_context_menu->addSeparator();
m_link_context_menu->addAction(m_link_context_menu_copy_url_action);
m_link_context_menu->addSeparator();