Merge pull request #2723

4a30d1f Account: update label after rename (selsta)
This commit is contained in:
luigi1111 2020-01-23 10:13:22 -05:00
commit 80a3da6efa
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

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