From 96d833641a3c076e6eec17c55c02bc41400b1329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sun, 12 Oct 2014 19:12:50 +0200 Subject: [PATCH] fixed bug causing comic info not being updated in comics view when YACReader sent info back to YACReaderLibrary --- YACReaderLibrary/library_window.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/YACReaderLibrary/library_window.cpp b/YACReaderLibrary/library_window.cpp index c913a8a3..e6a0f9bc 100644 --- a/YACReaderLibrary/library_window.cpp +++ b/YACReaderLibrary/library_window.cpp @@ -2337,8 +2337,8 @@ void LibraryWindow::importLibraryPackage() void LibraryWindow::updateComicsView(quint64 libraryId, const ComicDB & comic) { - //TODO comprobar la biblioteca.... - if(libraryId == selectedLibrary->currentIndex()) { + QLOG_DEBUG() << "incoming libraryId : " << " current id :" << libraries.getId(selectedLibrary->currentText()); + if(libraryId == libraries.getId(selectedLibrary->currentText())) { comicsModel->reload(comic); - } + } }