From 8e43bda13bb89465dfc6b411b9620769c578dc10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sun, 13 Aug 2023 12:31:19 +0200 Subject: [PATCH] Refresh current content after editing tags instead of doing a full reload. TODO: detect row movements, now rows are deleted and readded --- YACReaderLibrary/library_window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/YACReaderLibrary/library_window.cpp b/YACReaderLibrary/library_window.cpp index c7d5c3ef..6d3f5774 100644 --- a/YACReaderLibrary/library_window.cpp +++ b/YACReaderLibrary/library_window.cpp @@ -1289,10 +1289,10 @@ void LibraryWindow::createConnections() connect(importComicsInfoAction, &QAction::triggered, this, &LibraryWindow::showImportComicsInfo); // properties & config - connect(propertiesDialog, &QDialog::accepted, navigationController, &YACReaderNavigationController::reselectCurrentSource); + connect(propertiesDialog, &QDialog::accepted, contentViewsManager, &YACReaderContentViewsManager::updateCurrentContentView); // comic vine - connect(comicVineDialog, &QDialog::accepted, navigationController, &YACReaderNavigationController::reselectCurrentSource, Qt::QueuedConnection); + connect(comicVineDialog, &QDialog::accepted, contentViewsManager, &YACReaderContentViewsManager::updateCurrentContentView, Qt::QueuedConnection); connect(updateLibraryAction, &QAction::triggered, this, &LibraryWindow::updateLibrary); connect(renameLibraryAction, &QAction::triggered, this, &LibraryWindow::renameLibrary);