summaryrefslogtreecommitdiffstats
path: root/components/package/contents/ui
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-02 00:19:01 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-02 00:31:49 +0100
commit1ef70a4c8c2bb9fd70d5bc73614b09177b6b970c (patch)
tree57503402891c5d02720a06b2bdebb26ba551d9d7 /components/package/contents/ui
parent8cf790d6bc91e5e9c06651ffe4a193b625207f0d (diff)
downloadkube-1ef70a4c8c2bb9fd70d5bc73614b09177b6b970c.tar.gz
kube-1ef70a4c8c2bb9fd70d5bc73614b09177b6b970c.zip
Foldercontroller
Diffstat (limited to 'components/package/contents/ui')
-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 }