From a6caf98af999719c308bb5b45c170cb14ad496b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Thu, 17 Aug 2023 19:42:10 +0200 Subject: [PATCH] Reload comic cover when it changes --- YACReaderLibrary/library_window.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/YACReaderLibrary/library_window.cpp b/YACReaderLibrary/library_window.cpp index 6d3f5774..cb5708ba 100644 --- a/YACReaderLibrary/library_window.cpp +++ b/YACReaderLibrary/library_window.cpp @@ -1290,6 +1290,9 @@ void LibraryWindow::createConnections() // properties & config connect(propertiesDialog, &QDialog::accepted, contentViewsManager, &YACReaderContentViewsManager::updateCurrentContentView); + connect(propertiesDialog, &PropertiesDialog::coverChangedSignal, this, [=](const ComicDB &comic) { + comicsModel->notifyCoverChange(comic); + }); // comic vine connect(comicVineDialog, &QDialog::accepted, contentViewsManager, &YACReaderContentViewsManager::updateCurrentContentView, Qt::QueuedConnection);