1
0

gui: Disable 'Delete path' button during indexing

Dieser Commit ist enthalten in:
Albert S. 2024-05-23 18:44:09 +02:00
Ursprung 36aedc7445
Commit 241c3c40be

Datei anzeigen

@ -303,6 +303,7 @@ void MainWindow::startIndexing()
ui->txtPathScanAdd->setEnabled(false);
ui->btnAddPath->setEnabled(false);
ui->btnChoosePath->setEnabled(false);
ui->btnDeletePath->setEnabled(false);
ui->txtSearch->setEnabled(false);
ui->previewProcessBar->setValue(0);
ui->previewProcessBar->setVisible(true);
@ -352,6 +353,7 @@ void MainWindow::finishIndexing()
ui->txtPathScanAdd->setEnabled(true);
ui->btnAddPath->setEnabled(true);
ui->btnChoosePath->setEnabled(true);
ui->btnDeletePath->setEnabled(true);
ui->txtSearch->setEnabled(true);
if(result.erroredPaths > 0)
{