diff --git a/src/qml/Settings/AccountEditorPage.qml b/src/qml/Settings/AccountEditorPage.qml index 0d4962528..0f2d7ebf5 100644 --- a/src/qml/Settings/AccountEditorPage.qml +++ b/src/qml/Settings/AccountEditorPage.qml @@ -63,6 +63,23 @@ Kirigami.ScrollablePage { fileDialog.open(); } + QQC2.Button { + anchors { + bottom: parent.bottom + right: parent.right + } + visible: avatar.source.toString().length === 0 + icon.name: "cloud-upload" + text: i18n("Upload new avatar") + display: QQC2.AbstractButton.IconOnly + + onClicked: parent.onClicked() + + QQC2.ToolTip.text: text + QQC2.ToolTip.visible: hovered + QQC2.ToolTip.delay: Kirigami.Units.toolTipDelay + } + QQC2.Button { anchors { bottom: parent.bottom