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...");