summaryrefslogtreecommitdiffstats
path: root/src/controls/TreeView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/TreeView.qml')
-rw-r--r--src/controls/TreeView.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controls/TreeView.qml b/src/controls/TreeView.qml
index 49b88486f..aa21acc15 100644
--- a/src/controls/TreeView.qml
+++ b/src/controls/TreeView.qml
@@ -213,6 +213,8 @@ BasicTableView {
if (selectionMode === SelectionMode.SingleSelection)
return selection.currentIndex === modelIndex
return selection.hasSelection && selection.isSelected(modelIndex)
+ } else {
+ return false
}
}