[app] Fixed some references to non-existent QML properties

QML desperately needs a compiler or at least a validator
This commit is contained in:
Slava Monich 2020-09-28 03:07:46 +03:00
parent 57ba89da1b
commit 2646d8ad4f

View file

@ -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")