diff --git a/src/webview/webview.cpp b/src/webview/webview.cpp index cd1be7119..9ad6f707b 100644 --- a/src/webview/webview.cpp +++ b/src/webview/webview.cpp @@ -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; }