1
0

gui: Only enable 'Previews' tab if previews can be generated

Dieser Commit ist enthalten in:
Albert S. 2023-03-26 15:53:40 +02:00
Ursprung 5272365e5a
Commit 2bb26bc63c

Datei anzeigen

@ -877,6 +877,8 @@ void MainWindow::handleSearchResults(const QVector<SearchResult> &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)