mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 13:47:25 -04:00
Account: update label after rename
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user