summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index a8a45077..a562b1ab 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -327,5 +327,5 @@ void WebView::slotSearch()
KAction *a = qobject_cast<KAction*>(sender());
QString search = a->data().toString() + selectedText();
KUrl urlSearch = KUrl::fromEncoded(search.toUtf8());
- Application::instance()->loadUrl(urlSearch, Rekonq::NewTab);
+ Application::instance()->loadUrl(urlSearch, Rekonq::NewCurrentTab);
}