summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/qml/StatusBar.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/qml/StatusBar.qml b/framework/qml/StatusBar.qml
index 52fcfbdc..bc98843c 100644
--- a/framework/qml/StatusBar.qml
+++ b/framework/qml/StatusBar.qml
@@ -24,7 +24,7 @@ Item {
24 property string accountId: "" 24 property string accountId: ""
25 property string currentFolderName: "" 25 property string currentFolderName: ""
26 property string currentFolderId: "" 26 property string currentFolderId: ""
27 property string errorText: "Error" 27 property string errorText: ""
28 visible: false 28 visible: false
29 29
30 onCurrentFolderIdChanged: root.currentFolderName = "" 30 onCurrentFolderIdChanged: root.currentFolderName = ""
@@ -51,7 +51,7 @@ Item {
51 name: "disconnected"; when: model.status == Kube.AccountsModel.OfflineStatus 51 name: "disconnected"; when: model.status == Kube.AccountsModel.OfflineStatus
52 PropertyChanges { target: root; visible: true } 52 PropertyChanges { target: root; visible: true }
53 PropertyChanges { target: statusText; text: qsTr("Disconnected"); visible: true } 53 PropertyChanges { target: statusText; text: qsTr("Disconnected"); visible: true }
54 PropertyChanges { target: descriptionText; visible: true } 54 PropertyChanges { target: descriptionText; visible: root.errorText != "" }
55 }, 55 },
56 State { 56 State {
57 name: "busy"; when: model.status == Kube.AccountsModel.BusyStatus 57 name: "busy"; when: model.status == Kube.AccountsModel.BusyStatus