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:
commit
80a3da6efa
@ -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