From 8ba4ee5847ace3e57e46d938b4cc57bb88e0ca10 Mon Sep 17 00:00:00 2001 From: Albert S Date: Mon, 13 Jun 2022 22:53:41 +0200 Subject: [PATCH] gui: Disable settingsTab while Indexer is running --- gui/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index b5f5ef0..bf342a6 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -249,6 +249,7 @@ void MainWindow::startIndexing() ui->previewsTab->setEnabled(false); ui->resultsTab->setEnabled(false); + ui->settingsTab->setEnabled(false); ui->txtPathScanAdd->setEnabled(false); ui->txtSearch->setEnabled(false); ui->previewProcessBar->setValue(0); @@ -285,6 +286,7 @@ void MainWindow::finishIndexing() ui->btnStartIndexing->setText("Start indexing"); ui->previewsTab->setEnabled(true); ui->resultsTab->setEnabled(true); + ui->settingsTab->setEnabled(true); ui->txtPathScanAdd->setEnabled(true); ui->txtSearch->setEnabled(true); }