gui: mainwindow: Switch to results tab when searching from indexer tab

This commit is contained in:
Albert S. 2022-06-04 15:55:32 +02:00
父節點 1ec42e4949
當前提交 4187c3bfca
共有 1 個文件被更改,包括 4 次插入0 次删除

查看文件

@ -389,6 +389,10 @@ void MainWindow::lineEditReturnPressed()
ui->lblSearchResults->setText("Invalid paranthesis");
return;
}
if(indexerTabActive())
{
ui->tabWidget->setCurrentIndex(0);
}
// TODO: validate q;
ui->treeResultsList->clear();
ui->lblSearchResults->setText("Searching...");