Add method to FolderContentView to reload its contents

This commit is contained in:
Luis Ángel San Martín
2023-08-13 11:42:36 +02:00
parent b2d48a77ca
commit 80ff6ed63b
2 changed files with 7 additions and 0 deletions

View File

@ -203,6 +203,12 @@ void FolderContentView::setContinueReadingModel(ComicModel *model)
}
}
void FolderContentView::reloadContent()
{
folderModel->reload();
reloadContinueReadingModel();
}
void FolderContentView::reloadContinueReadingModel()
{
if (!folderModel->isSubfolder) {