mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Middle click to respect new tabs after active tab
This commit is contained in:
parent
9106032d21
commit
a725a44c6b
|
@ -802,7 +802,7 @@ void WebView::mouseReleaseEvent(QMouseEvent* event)
|
|||
if (frame) {
|
||||
QUrl link = frame->hitTestContent(event->pos()).linkUrl();
|
||||
if (m_clickedUrl == link && isUrlValid(link)) {
|
||||
openUrlInNewTab(link, Qz::NT_NotSelectedTab);
|
||||
openUrlInNewTab(link, WebViewSettings::newTabAfterActive ? Qz::NT_NotSelectedTab : Qz::NT_CleanTab);
|
||||
event->accept();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user