diff options
Diffstat (limited to 'framework/qml/EditAccount.qml')
-rw-r--r-- | framework/qml/EditAccount.qml | 2 |
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 | |||
25 | Item { | 25 | Item { |
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() |