From e56b4b24df2aec5b90595d40b1260c72f06ba2c0 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 26 Jul 2017 14:07:53 -0600 Subject: Avoid undefined warnings --- framework/qml/EditAccount.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework') diff --git a/framework/qml/EditAccount.qml b/framework/qml/EditAccount.qml index ad7c1f76..f4870225 100644 --- a/framework/qml/EditAccount.qml +++ b/framework/qml/EditAccount.qml @@ -40,7 +40,7 @@ Item { Kube.Heading { id: heading - text: loader.item.heading + text: loader.item ? loader.item.heading : "" color: Kube.Colors.highlightColor } @@ -53,7 +53,7 @@ Item { } width: parent.width - text: loader.item.subheadline + text: loader.item ? loader.item.subheadline : "" color: Kube.Colors.disabledTextColor wrapMode: Text.Wrap } -- cgit v1.2.3