gui: mainwindow: Switch to results tab when searching from indexer tab
This commit is contained in:
والد
1ec42e4949
کامیت
4187c3bfca
@ -389,6 +389,10 @@ void MainWindow::lineEditReturnPressed()
|
|||||||
ui->lblSearchResults->setText("Invalid paranthesis");
|
ui->lblSearchResults->setText("Invalid paranthesis");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if(indexerTabActive())
|
||||||
|
{
|
||||||
|
ui->tabWidget->setCurrentIndex(0);
|
||||||
|
}
|
||||||
// TODO: validate q;
|
// TODO: validate q;
|
||||||
ui->treeResultsList->clear();
|
ui->treeResultsList->clear();
|
||||||
ui->lblSearchResults->setText("Searching...");
|
ui->lblSearchResults->setText("Searching...");
|
||||||
|
بارگذاری…
x
مرجع در شماره جدید
Block a user