mirror of
https://github.com/YACReader/yacreader
synced 2025-07-16 03:54:34 -04:00
Keep disabled actions during navigation while automatic updates are happening
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user