summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/controls/Private/ScrollViewHelper.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Private/ScrollViewHelper.qml b/src/controls/Private/ScrollViewHelper.qml
index 4f1d59f0f..3f309bb0d 100644
--- a/src/controls/Private/ScrollViewHelper.qml
+++ b/src/controls/Private/ScrollViewHelper.qml
@@ -143,7 +143,7 @@ Item {
}
}
onValueChanged: {
- if (!blockUpdates) {
+ if (flickableItem && !blockUpdates) {
flickableItem.contentX = value + flickableItem.originX
}
}