diff --git a/YACReaderLibrary/qml/FlowView.qml b/YACReaderLibrary/qml/FlowView.qml index 972865f4..073cf0e8 100644 --- a/YACReaderLibrary/qml/FlowView.qml +++ b/YACReaderLibrary/qml/FlowView.qml @@ -18,6 +18,8 @@ Rectangle { property real itemsSpacing: 17 + signal currentCoverChanged(int index) + Rectangle { id: background color: "#2A2A2A" @@ -72,6 +74,7 @@ Rectangle { ListView { id: list + objectName: "list" anchors.fill: parent property int previousIndex; @@ -92,6 +95,10 @@ Rectangle { highlightMoveDuration: 250 + onCurrentIndexChanged: { + currentCoverChanged(currentIndex); + } + delegate: Component { //cover