From 650ef57a58a9c349d7db110563dfcba78ac68e9f Mon Sep 17 00:00:00 2001 From: Mikko Ahlroth Date: Wed, 5 Nov 2014 21:41:08 +0200 Subject: [PATCH] Show hint to add connections when none are added initially. --- qml/pages/ConnectionList.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qml/pages/ConnectionList.qml b/qml/pages/ConnectionList.qml index 4cb2c3e..6650147 100644 --- a/qml/pages/ConnectionList.qml +++ b/qml/pages/ConnectionList.qml @@ -25,6 +25,11 @@ Page { title: "Connections" } + ViewPlaceholder { + enabled: connectionModel.count === 0; + text: "No connections added yet. Pull down to add." + } + delegate: ListItem { id: listItem contentHeight: Theme.itemSizeLarge