diff options
Diffstat (limited to 'tests/manual/quick/pdf/bookmarks-list.qml')
-rw-r--r-- | tests/manual/quick/pdf/bookmarks-list.qml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/manual/quick/pdf/bookmarks-list.qml b/tests/manual/quick/pdf/bookmarks-list.qml index a4c030ea5..fd6c38b54 100644 --- a/tests/manual/quick/pdf/bookmarks-list.qml +++ b/tests/manual/quick/pdf/bookmarks-list.qml @@ -87,11 +87,10 @@ ApplicationWindow { width: parent.width text: model.title background: Item { } - onClicked: image.currentFrame = pageNumber + onClicked: image.currentFrame = page } model: PdfBookmarkModel { document: root.doc - structureMode: PdfBookmarkModel.ListMode } } } @@ -179,6 +178,6 @@ ApplicationWindow { } Text { anchors { bottom: parent.bottom; right: parent.right; margins: 6 } - text: "page " + (image.currentFrame + 1) + " of " + doc.pageCount + text: "page " + doc.pageLabel(image.currentFrame) + " of " + doc.pageCount } } |