From b460a84aeefadbb4631b99cd7140c265dadc49da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Thu, 4 Sep 2014 18:58:31 +0200 Subject: [PATCH] fixed open comic from YACReaderLibrary (wrong libraryId was being sent to YACReader) --- YACReaderLibrary/library_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YACReaderLibrary/library_window.cpp b/YACReaderLibrary/library_window.cpp index b6edbc0a..2d87488b 100644 --- a/YACReaderLibrary/library_window.cpp +++ b/YACReaderLibrary/library_window.cpp @@ -1279,7 +1279,7 @@ void LibraryWindow::openComic() quint64 comicId = comic.id; //TODO generate IDS for libraries... - quint64 libraryId = selectedLibrary->currentIndex(); + quint64 libraryId = libraries.getId(selectedLibrary->currentText()); // %1 %2 %3 NO-->%4 %5 %6 %7 %8 %9 %10 //Invoke YACReader comicPath comicId libraryId NO-->currentPage bookmark1 bookmark2 bookmark3 brightness contrast gamma