Custom password dialog. fixes issue with standard dialog

This commit is contained in:
Ilya Kitaev
2016-11-01 15:01:24 +03:00
parent 6c6b10855f
commit 7973d0cbcc
3 changed files with 115 additions and 27 deletions

View File

@@ -495,7 +495,7 @@ ApplicationWindow {
PasswordDialog {
id: passwordDialog
standardButtons: StandardButton.Ok + StandardButton.Cancel
onAccepted: {
appWindow.currentWallet = null
appWindow.initialize();
@@ -503,9 +503,7 @@ ApplicationWindow {
onRejected: {
appWindow.enableUI(false)
}
onDiscard: {
appWindow.enableUI(false)
}
}