summaryrefslogtreecommitdiffstats
path: root/framework/qml/EditAccount.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-09-07 17:07:29 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-09-07 22:44:36 +0200
commit6f4e9230a88bc2262a1093ae9f2507f1160bff54 (patch)
tree12fed1e37e452bf4b4bf8986492e0bdfe28a8b38 /framework/qml/EditAccount.qml
parentb7b5ec6b6b6dc269500574ea6d8c34852179edc7 (diff)
downloadkube-6f4e9230a88bc2262a1093ae9f2507f1160bff54.tar.gz
kube-6f4e9230a88bc2262a1093ae9f2507f1160bff54.zip
Single account mode
It's hardcoded to be enabled and set to kolabnow at the moment (TBD).
Diffstat (limited to 'framework/qml/EditAccount.qml')
-rw-r--r--framework/qml/EditAccount.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/qml/EditAccount.qml b/framework/qml/EditAccount.qml
index 03bf2dea..fb21f655 100644
--- a/framework/qml/EditAccount.qml
+++ b/framework/qml/EditAccount.qml
@@ -25,6 +25,7 @@ import org.kube.framework 1.0 as Kube
25Item { 25Item {
26 id: root 26 id: root
27 property string accountId 27 property string accountId
28 property bool singleAccountMode: false
28 29
29 Kube.AccountFactory { 30 Kube.AccountFactory {
30 id: accountFactory 31 id: accountFactory
@@ -113,6 +114,7 @@ Item {
113 114
114 Kube.Button { 115 Kube.Button {
115 text: qsTr("Remove Account") 116 text: qsTr("Remove Account")
117 visible: !root.singleAccountMode
116 118
117 onClicked: { 119 onClicked: {
118 loader.item.remove() 120 loader.item.remove()