Merge pull request #192 from vedgy/fix-info-comics-view-crashes

Library: fix InfoComicsView crashes
This commit is contained in:
Luis Ángel San Martín 2021-02-01 18:38:50 +01:00 committed by GitHub
commit 117b02fc7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,8 @@ Rectangle {
highlightMoveDuration: 250
onCurrentIndexChanged: {
currentCoverChanged(currentIndex);
if (currentIndex !== -1)
currentCoverChanged(currentIndex);
}
delegate: Component {