diff --git a/src/app/commoncomponents/PasswordDialog.qml b/src/app/commoncomponents/PasswordDialog.qml index 35b590de2ed172c0fcf5951695631fa64058abd8..82c9ced8309dd3d939a6ce3f500257c267202796 100644 --- a/src/app/commoncomponents/PasswordDialog.qml +++ b/src/app/commoncomponents/PasswordDialog.qml @@ -17,6 +17,7 @@ */ import QtQuick import QtQuick.Layouts +import QtQuick.Controls import net.jami.Adapters 1.1 import net.jami.Constants 1.1 @@ -76,6 +77,9 @@ BaseModalDialog { button1Role: DialogButtonBox.ApplyRole button1.enabled: purpose === PasswordDialog.SetPassword + button2.text: JamiStrings.cancel + button2Role: DialogButtonBox.RejectRole + button2.onClicked: close() popupContent: ColumnLayout { id: popupContentColumnLayout @@ -167,6 +171,7 @@ BaseModalDialog { Layout.alignment: Qt.AlignHCenter Layout.preferredHeight: visible ? 48 : 0 + Layout.bottomMargin: JamiTheme.preferredMarginSize Layout.fillWidth: true visible: purpose === PasswordDialog.ChangePassword || purpose === PasswordDialog.SetPassword