Account: update label after rename

pull/2/head
selsta 4 years ago
parent ef2b0cfa4a
commit 4a30d1fc38
Signed by untrusted user: selsta
GPG Key ID: 2EA0A99A8B07AE5E

@ -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))