mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 18:04:32 +00:00
- Give focus to current search tab
This commit is contained in:
parent
3758c98d5e
commit
6098bfebf8
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user