mirror of
https://github.com/YACReader/yacreader
synced 2025-05-27 19:00:29 -04:00
Add a safety check before accessing lists in the comic flow
This commit is contained in:
parent
9f38fc45d3
commit
74c16f5c81
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user