mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-22 19:49:34 +00:00
Account: update label after rename
This commit is contained in:
parent
ef2b0cfa4a
commit
4a30d1fc38
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue