From 6098bfebf8fb5cb9c234e8bc97b03d07d13bdd20 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 25 Jun 2008 20:48:58 +0000 Subject: [PATCH] - Give focus to current search tab --- src/searchEngine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/searchEngine.cpp b/src/searchEngine.cpp index b140229ec..1eefec051 100644 --- a/src/searchEngine.cpp +++ b/src/searchEngine.cpp @@ -136,6 +136,7 @@ void SearchEngine::on_search_button_clicked(){ currentSearchTab=new SearchTab(this); tabWidget->addTab(currentSearchTab, pattern); all_tab.append(currentSearchTab); + tabWidget->setCurrentWidget(currentSearchTab); closeTab_button->setEnabled(true); // if the pattern is not in the pattern if(searchHistory.indexOf(pattern) == -1){