Account: update label after rename

This commit is contained in:
selsta 2020-01-15 22:40:26 +01:00
parent ef2b0cfa4a
commit 4a30d1fc38
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -55,6 +55,7 @@ Rectangle {
inputDialog.labelText = qsTr("Set the label of the selected account:") + translationManager.emptyString;
inputDialog.onAcceptedCallback = function() {
appWindow.currentWallet.setSubaddressLabel(_index, 0, inputDialog.inputText)
appWindow.currentWallet.subaddressAccount.refresh()
}
inputDialog.onRejectedCallback = null;
inputDialog.open(appWindow.currentWallet.getSubaddressLabel(_index, 0))