Merge pull request #1315 from heropj/fix/local-category-filter

fix: Update filters after sideloading a ZIM file
This commit is contained in:
Kelson 2025-01-05 13:55:40 +01:00 committed by GitHub
commit 7295e5b5ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -94,6 +94,8 @@ ContentManager::ContentManager(Library* library)
connect(this, &ContentManager::filterParamsChanged, this, &ContentManager::updateLibrary);
connect(this, &ContentManager::booksChanged, this, [=]() {
updateModel();
setCategories();
setLanguages();
});
connect(&m_remoteLibraryManager, &OpdsRequestManager::requestReceived, this, &ContentManager::updateRemoteLibrary);
connect(mp_view->getView(), SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(onCustomContextMenu(const QPoint &)));