summaryrefslogtreecommitdiff
path: root/imports/shared/controls/ListViewManager.qml
diff options
context:
space:
mode:
Diffstat (limited to 'imports/shared/controls/ListViewManager.qml')
-rw-r--r--imports/shared/controls/ListViewManager.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/imports/shared/controls/ListViewManager.qml b/imports/shared/controls/ListViewManager.qml
index 1889a8f..1ff9bcd 100644
--- a/imports/shared/controls/ListViewManager.qml
+++ b/imports/shared/controls/ListViewManager.qml
@@ -41,6 +41,7 @@ UIElement {
property alias currentIndex: listView.currentIndex
property alias header: listView.header
property bool scrollVisible: false
+ property bool interactive: true
ListView {
id: listView
@@ -49,6 +50,7 @@ UIElement {
anchors.rightMargin: root.scrollVisible ? 5 : 0
highlightRangeMode: root.scrollVisible ? ListView.StrictlyEnforceRange : ListView.NoHighlightRange
clip: true
+ interactive: root.interactive
currentIndex: root.scrollVisible ? sliderCOntainer.position*model.count : 0
}