From 6f4e9230a88bc2262a1093ae9f2507f1160bff54 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 7 Sep 2017 17:07:29 +0200 Subject: Single account mode It's hardcoded to be enabled and set to kolabnow at the moment (TBD). --- framework/qml/EditAccount.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'framework/qml') 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 Item { id: root property string accountId + property bool singleAccountMode: false Kube.AccountFactory { id: accountFactory @@ -113,6 +114,7 @@ Item { Kube.Button { text: qsTr("Remove Account") + visible: !root.singleAccountMode onClicked: { loader.item.remove() -- cgit v1.2.3