And more...

This commit is contained in:
jpirnay
2026-03-08 12:14:18 +01:00
parent 42a01446ef
commit 9182a05670
3 changed files with 11 additions and 7 deletions
+4 -2
View File
@@ -142,8 +142,10 @@ bool RecentBooksStore::loadFromBinaryFile() {
inputFile.close();
return false;
}
tmpRecentBooks.push_back({path, title, author, "", ""});
} else {
if (!title.empty()) {
tmpRecentBooks.push_back({path, title, author, "", ""});
}
} else if (!book.title.empty()) {
tmpRecentBooks.push_back(book);
}
}