diff --git a/qml/pages/ReaderPage.qml b/qml/pages/ReaderPage.qml index 52a8375..45843f0 100644 --- a/qml/pages/ReaderPage.qml +++ b/qml/pages/ReaderPage.qml @@ -12,6 +12,7 @@ Page { property int currentChapter: 0 property double chapterFraction: 0.0 + property bool ready: false property bool restoring: false property int saveCounter: 0 property int syncCounter: 0 @@ -29,6 +30,19 @@ Page { anchors.right: parent.right anchors.bottom: toolbar.top contentHeight: parent.height + + // il PullDownMenu va DENTRO una vista Silica, non a livello di Page + PullDownMenu { + MenuItem { + text: "Indice capitoli" + onClicked: showChapterList() + } + MenuItem { + text: "Aggiorna posizione sul server" + onClicked: syncNow() + } + } + WebView { id: web anchors.fill: parent @@ -132,17 +146,6 @@ Page { } } - PullDownMenu { - MenuItem { - text: "Indice capitoli" - onClicked: showChapterList() - } - MenuItem { - text: "Aggiorna posizione sul server" - onClicked: syncNow() - } - } - // ---- timer di tracciamento ---- Timer { id: trackTimer