gui: Only enable 'Previews' tab if previews can be generated
This commit is contained in:
parent
5272365e5a
commit
2bb26bc63c
@ -877,6 +877,8 @@ void MainWindow::handleSearchResults(const QVector<SearchResult> &results)
|
|||||||
makePreviews(1);
|
makePreviews(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ui->tabWidget->setTabEnabled(1, previewDirty);
|
||||||
|
|
||||||
QString statusText = "Results: " + QString::number(results.size()) + " files";
|
QString statusText = "Results: " + QString::number(results.size()) + " files";
|
||||||
statusText += ", previewable: " + QString::number(this->previewCoordinator.previewableCount());
|
statusText += ", previewable: " + QString::number(this->previewCoordinator.previewableCount());
|
||||||
if(hasDeleted)
|
if(hasDeleted)
|
||||||
|
Caricamento…
Fai riferimento in un nuovo problema
Block a user