summaryrefslogtreecommitdiffstats
path: root/components/package/contents/ui/AccountSwitcher.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/package/contents/ui/AccountSwitcher.qml')
-rw-r--r--components/package/contents/ui/AccountSwitcher.qml11
1 files changed, 7 insertions, 4 deletions
diff --git a/components/package/contents/ui/AccountSwitcher.qml b/components/package/contents/ui/AccountSwitcher.qml
index 78ec38cb..a29a290d 100644
--- a/components/package/contents/ui/AccountSwitcher.qml
+++ b/components/package/contents/ui/AccountSwitcher.qml
@@ -28,6 +28,10 @@ import org.kube.components 1.0 as KubeComponents
28Controls2.Button { 28Controls2.Button {
29 id: accountSwitcher 29 id: accountSwitcher
30 30
31 KubeFramework.FolderController {
32 id: folderController
33 }
34
31 Layout.fillWidth: true 35 Layout.fillWidth: true
32 height: parent.height 36 height: parent.height
33 37
@@ -87,7 +91,6 @@ Controls2.Button {
87 } 91 }
88 92
89 Controls2.Button { 93 Controls2.Button {
90
91 anchors { 94 anchors {
92 verticalCenter: parent.verticalCenter 95 verticalCenter: parent.verticalCenter
93 left: parent.left 96 left: parent.left
@@ -95,10 +98,10 @@ Controls2.Button {
95 98
96 //iconName: "view-refresh" 99 //iconName: "view-refresh"
97 text: "Sync" 100 text: "Sync"
98 enabled: syncAction.ready 101 enabled: folderController.synchronizeAction.enabled
99
100 onClicked: { 102 onClicked: {
101 syncAction.execute() 103 folderController.synchronizeAction.execute()
104 popup.close()
102 } 105 }
103 } 106 }
104 } 107 }