diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index a0e4cfe..d5a0010 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -877,6 +877,8 @@ void MainWindow::handleSearchResults(const QVector &results) makePreviews(1); } + ui->tabWidget->setTabEnabled(1, previewDirty); + QString statusText = "Results: " + QString::number(results.size()) + " files"; statusText += ", previewable: " + QString::number(this->previewCoordinator.previewableCount()); if(hasDeleted)