Update if needed the continue reading list whenever we get an update about a comic

This commit is contained in:
Luis Ángel San Martín
2022-10-14 20:56:03 +02:00
parent 6c575c1b71
commit f4656ad210
3 changed files with 9 additions and 0 deletions

View File

@ -75,6 +75,13 @@ void YACReaderContentViewsManager::updateCurrentComicView()
}
}
void YACReaderContentViewsManager::updateContinueReadingView()
{
if (comicsViewStack->currentWidget() == folderContentView) {
folderContentView->reloadContinueReadingModel();
}
}
void YACReaderContentViewsManager::showComicsView()
{
comicsViewStack->setCurrentWidget(comicsView);