summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Hein <hein@kde.org>2017-01-16 11:30:00 (GMT)
committerEike Hein <hein@kde.org>2017-01-16 11:30:00 (GMT)
commit4af59a374bce56ee4be273b8397aff28953d483d (patch)
tree9e4aaf0c5f35b39a52c188f57113fbdfc204fa42
parent0c39f4812449ce306792c9c50f5aef89b3cb62f8 (diff)
Silence warning.
-rw-r--r--containments/desktop/package/contents/ui/FolderView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/containments/desktop/package/contents/ui/FolderView.qml b/containments/desktop/package/contents/ui/FolderView.qml
index 3dd1343..33656ff 100644
--- a/containments/desktop/package/contents/ui/FolderView.qml
+++ b/containments/desktop/package/contents/ui/FolderView.qml
@@ -561,7 +561,7 @@ Item {
}
onCachedRectangleSelectionChanged: {
- if (cachedRectangleSelection.length) {
+ if (cachedRectangleSelection && cachedRectangleSelection.length) {
// Set current index to start of selection.
// cachedRectangleSelection is pre-sorted.
currentIndex = cachedRectangleSelection[0];