Merge pull request #2723

4a30d1f Account: update label after rename (selsta)
pull/2/head
luigi1111 4 years ago
commit 80a3da6efa
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

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