mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 20:02:04 +02:00
Account: update label after rename
This commit is contained in:
parent
ef2b0cfa4a
commit
4a30d1fc38
@ -55,6 +55,7 @@ Rectangle {
|
|||||||
inputDialog.labelText = qsTr("Set the label of the selected account:") + translationManager.emptyString;
|
inputDialog.labelText = qsTr("Set the label of the selected account:") + translationManager.emptyString;
|
||||||
inputDialog.onAcceptedCallback = function() {
|
inputDialog.onAcceptedCallback = function() {
|
||||||
appWindow.currentWallet.setSubaddressLabel(_index, 0, inputDialog.inputText)
|
appWindow.currentWallet.setSubaddressLabel(_index, 0, inputDialog.inputText)
|
||||||
|
appWindow.currentWallet.subaddressAccount.refresh()
|
||||||
}
|
}
|
||||||
inputDialog.onRejectedCallback = null;
|
inputDialog.onRejectedCallback = null;
|
||||||
inputDialog.open(appWindow.currentWallet.getSubaddressLabel(_index, 0))
|
inputDialog.open(appWindow.currentWallet.getSubaddressLabel(_index, 0))
|
||||||
|
Loading…
Reference in New Issue
Block a user