summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/mobilecomponents/Page.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/mobilecomponents/Page.qml')
-rw-r--r--qt-mobile/qml/mobilecomponents/Page.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-mobile/qml/mobilecomponents/Page.qml b/qt-mobile/qml/mobilecomponents/Page.qml
index 784ce8037..f55c24faa 100644
--- a/qt-mobile/qml/mobilecomponents/Page.qml
+++ b/qt-mobile/qml/mobilecomponents/Page.qml
@@ -57,7 +57,7 @@ Rectangle {
Connections {
target: flickable
- property real oldContentY: flickable.contentY
+ property real oldContentY: (flickable == null) ? 0 : flickable.contentY
onContentYChanged: {
actionButton.transform[0].y = Math.min(actionButton.height, Math.max(0, actionButton.transform[0].y + (flickable.contentY - oldContentY)));