Keep disabled actions during navigation while automatic updates are happening

This commit is contained in:
Luis Ángel San Martín
2023-08-24 17:51:18 +02:00
parent a0dff3a03b
commit 7bfe9ea6b3
16 changed files with 2187 additions and 2149 deletions

View File

@ -951,6 +951,11 @@ void LibraryWindow::createActions()
}
void LibraryWindow::disableComicsActions(bool disabled)
{
if (!disabled && librariesUpdateCoordinator->isRunning()) {
disableComicsActions(true);
return;
}
// if there aren't comics, no fullscreen option will be available
#ifndef Q_OS_MACOS
toggleFullScreenAction->setDisabled(disabled);