From 2646d8ad4fdb208cfdb56a31ddbf32cd37061273 Mon Sep 17 00:00:00 2001 From: Slava Monich Date: Mon, 28 Sep 2020 03:07:46 +0300 Subject: [PATCH] [app] Fixed some references to non-existent QML properties QML desperately needs a compiler or at least a validator --- app/qml/BooksBookView.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/qml/BooksBookView.qml b/app/qml/BooksBookView.qml index 260962a..a390bc1 100644 --- a/app/qml/BooksBookView.qml +++ b/app/qml/BooksBookView.qml @@ -98,7 +98,7 @@ SilicaFlickable { } } - onBookChanged: if (!book) pager.currentPage = 0 + onBookChanged: if (!book) pager.setPage(0) onSelectingChanged: { if (selecting) { @@ -137,7 +137,7 @@ SilicaFlickable { //: Pulley menu item //% "Settings" text: qsTrId("harbour-books-menu-settings") - visible: !editMode && BooksSettingsMenu + visible: BooksSettingsMenu onClicked: { if (!settingsComponent) { settingsComponent = Qt.createComponent("../settings/BooksSettings.qml")