diff --git a/appcontroller.cpp b/appcontroller.cpp index 27f096c..29e379e 100644 --- a/appcontroller.cpp +++ b/appcontroller.cpp @@ -27,6 +27,10 @@ AppController::AppController(QObject *parent) m_librariesModel->setItemRoleNames(LibraryItem::roleNames()); m_comicsModel->setItemRoleNames(ComicItem::roleNames()); m_foldersModel->setItemRoleNames(FolderItem::roleNames()); + connect(this, &AppController::currentComicIdChanged, this, [this](){ + // "selected" is "current" + setProperty("selectedComicOpened", false); + }); } void AppController::connectServer(QUrl serverBaseUrl)