Add a safety check before accessing lists in the comic flow

This commit is contained in:
Luis Ángel San Martín 2023-10-25 20:56:44 +02:00
parent 9f38fc45d3
commit 74c16f5c81
2 changed files with 9 additions and 1 deletions

View File

@ -16,10 +16,14 @@ Version counting is based on semantic versioning (Major.Feature.Patch)
* Add menu to choose what columns are displayed in the table comics view (do a right click on the header to show it). The view has new 3 new headers to choose from (Series, Volume and Story arc).
* Migrate `number` and `arcNumber` data types to `TEXT`. This only affects databases created before 9.13 and fixes problems with some formats of numbers (e.g. 1.10).
* Propage update date to all the parent folders.
* Fix crash when resorting comics in reading lists in table view view and the comic flow is hidden.
### YACReaderLibrary
### YACReaderLibraryServer
* Add `rescan-xml-info` command.
## All Apps
* New universal builds for macos.
## 9.13.1
### YACReaderLibrary

View File

@ -1267,6 +1267,10 @@ void YACReaderComicFlowGL::resortCovers(QList<int> newOrder)
int index = 0;
foreach (int i, newOrder) {
if (i < 0 || i >= images.size()) {
continue;
}
pathsNew << paths.at(i);
loadedNew << loaded.at(i);
marksNew << marks.at(i);