From 294991cf9a349fd7297374c2b6d166bd4ffc6c13 Mon Sep 17 00:00:00 2001 From: Pranjal Pandey Date: Tue, 31 Dec 2024 17:23:29 +0530 Subject: [PATCH] update filters after sideloading a ZIM file --- src/contentmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/contentmanager.cpp b/src/contentmanager.cpp index b682c67..ff06044 100644 --- a/src/contentmanager.cpp +++ b/src/contentmanager.cpp @@ -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 &)));