diff --git a/components/PasswordDialog.qml b/components/PasswordDialog.qml index 9edf87fc..69a2ae91 100644 --- a/components/PasswordDialog.qml +++ b/components/PasswordDialog.qml @@ -36,7 +36,7 @@ import QtQuick.Controls.Styles 1.4 Dialog { id: root - readonly property alias password: passwordInput.text + property alias password: passwordInput.text standardButtons: StandardButton.Ok + StandardButton.Cancel ColumnLayout { id: column diff --git a/pages/Settings.qml b/pages/Settings.qml index d46186af..973ff773 100644 --- a/pages/Settings.qml +++ b/pages/Settings.qml @@ -76,7 +76,7 @@ Rectangle { memoTextInput.text = currentWallet.seed showSeedButton.visible = false } - + settingsPasswordDialog.password = "" } onRejected: {