fixed bug causing comic info not being updated in comics view when YACReader sent info back to YACReaderLibrary

This commit is contained in:
Luis Ángel San Martín 2014-10-12 19:12:50 +02:00
parent d9d1b5ff36
commit 96d833641a

View File

@ -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);
}
}
}