summaryrefslogtreecommitdiff
path: root/modules/launcher/ContentList.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/launcher/ContentList.qml')
-rw-r--r--modules/launcher/ContentList.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/launcher/ContentList.qml b/modules/launcher/ContentList.qml
index b15daa6..62d5305 100644
--- a/modules/launcher/ContentList.qml
+++ b/modules/launcher/ContentList.qml
@@ -124,8 +124,8 @@ Item {
Item {
id: empty
- opacity: root.currentList.count === 0 ? 1 : 0
- scale: root.currentList.count === 0 ? 1 : 0.5
+ opacity: root.currentList?.count === 0 ? 1 : 0
+ scale: root.currentList?.count === 0 ? 1 : 0.5
implicitWidth: icon.width + text.width + Appearance.spacing.small
implicitHeight: icon.height