diff options
-rw-r--r-- | framework/qml/EditAccount.qml | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
40 | 40 | ||
41 | Kube.Heading { | 41 | Kube.Heading { |
42 | id: heading | 42 | id: heading |
43 | text: loader.item.heading | 43 | text: loader.item ? loader.item.heading : "" |
44 | color: Kube.Colors.highlightColor | 44 | color: Kube.Colors.highlightColor |
45 | } | 45 | } |
46 | 46 | ||
@@ -53,7 +53,7 @@ Item { | |||
53 | } | 53 | } |
54 | 54 | ||
55 | width: parent.width | 55 | width: parent.width |
56 | text: loader.item.subheadline | 56 | text: loader.item ? loader.item.subheadline : "" |
57 | color: Kube.Colors.disabledTextColor | 57 | color: Kube.Colors.disabledTextColor |
58 | wrapMode: Text.Wrap | 58 | wrapMode: Text.Wrap |
59 | } | 59 | } |