gui: Disable settingsTab while Indexer is running

This commit is contained in:
Albert S. 2022-06-13 22:53:41 +02:00
parent 451c79088a
commit 8ba4ee5847

Vedi File

@ -249,6 +249,7 @@ void MainWindow::startIndexing()
ui->previewsTab->setEnabled(false); ui->previewsTab->setEnabled(false);
ui->resultsTab->setEnabled(false); ui->resultsTab->setEnabled(false);
ui->settingsTab->setEnabled(false);
ui->txtPathScanAdd->setEnabled(false); ui->txtPathScanAdd->setEnabled(false);
ui->txtSearch->setEnabled(false); ui->txtSearch->setEnabled(false);
ui->previewProcessBar->setValue(0); ui->previewProcessBar->setValue(0);
@ -285,6 +286,7 @@ void MainWindow::finishIndexing()
ui->btnStartIndexing->setText("Start indexing"); ui->btnStartIndexing->setText("Start indexing");
ui->previewsTab->setEnabled(true); ui->previewsTab->setEnabled(true);
ui->resultsTab->setEnabled(true); ui->resultsTab->setEnabled(true);
ui->settingsTab->setEnabled(true);
ui->txtPathScanAdd->setEnabled(true); ui->txtPathScanAdd->setEnabled(true);
ui->txtSearch->setEnabled(true); ui->txtSearch->setEnabled(true);
} }