1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-27 00:53:43 +01:00

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