summaryrefslogtreecommitdiff
path: root/src/webtab/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-02-27 18:07:53 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-02-27 18:07:53 +0100
commitb218910128d575346e21dcc2d1ba48554eafc28a (patch)
tree5d88317e0b62095d8dfb972e591071f3406dd868 /src/webtab/webview.cpp
parentIf KGet is selected as download manager, let it decide destination (diff)
downloadrekonq-b218910128d575346e21dcc2d1ba48554eafc28a.tar.xz
Fix search management
show search on focused tab let search on current page work again :)
Diffstat (limited to 'src/webtab/webview.cpp')
-rw-r--r--src/webtab/webview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webtab/webview.cpp b/src/webtab/webview.cpp
index dca2ee0e..e7275db2 100644
--- a/src/webtab/webview.cpp
+++ b/src/webtab/webview.cpp
@@ -721,7 +721,7 @@ void WebView::search()
KService::Ptr engine = KService::serviceByDesktopPath(a->data().toString());
KUrl urlSearch = KUrl(SearchEngine::buildQuery(engine, selectedText()));
- emit loadUrl(urlSearch, Rekonq::NewTab);
+ emit loadUrl(urlSearch, Rekonq::NewFocusedTab);
}