diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-10-25 11:10:51 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-10-25 11:10:51 +0200 |
commit | d5d1950bb5907235e8635368899bcea7d5cc7137 (patch) | |
tree | cd140cedceddfeb70e3b41ae1bc8290e6debc1e7 | |
parent | 05415533ab0ac465cd087a8e623a6bd195788cdd (diff) | |
download | kube-d5d1950bb5907235e8635368899bcea7d5cc7137.tar.gz kube-d5d1950bb5907235e8635368899bcea7d5cc7137.zip |
Hide change password button if we don't have one
-rw-r--r-- | framework/qml/EditAccount.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/qml/EditAccount.qml b/framework/qml/EditAccount.qml index 68559d99..872d9d03 100644 --- a/framework/qml/EditAccount.qml +++ b/framework/qml/EditAccount.qml | |||
@@ -79,6 +79,7 @@ Item { | |||
79 | onLoaded: item.accountId = root.accountId | 79 | onLoaded: item.accountId = root.accountId |
80 | } | 80 | } |
81 | Kube.Button { | 81 | Kube.Button { |
82 | visible: accountFactory.requiresKeyring | ||
82 | anchors.right: parent.right | 83 | anchors.right: parent.right |
83 | text: qsTr("Change Password") | 84 | text: qsTr("Change Password") |
84 | onClicked: { | 85 | onClicked: { |