Merge pull request #2645

66f6b95 Account: update balance card label (selsta)
This commit is contained in:
luigi1111
2019-12-21 18:07:07 -05:00
2 changed files with 2 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ Rectangle {
function renameSubaddressAccountLabel(_index){
inputDialog.labelText = qsTr("Set the label of the selected account:") + translationManager.emptyString;
inputDialog.onAcceptedCallback = function() {
appWindow.currentWallet.subaddressAccount.setLabel(_index, inputDialog.inputText)
appWindow.currentWallet.setSubaddressLabel(_index, 0, inputDialog.inputText)
}
inputDialog.onRejectedCallback = null;
inputDialog.open(appWindow.currentWallet.getSubaddressLabel(_index, 0))