aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2020-01-15 22:40:26 +0100
committerselsta <selsta@sent.at>2020-01-15 22:41:39 +0100
commit4a30d1fc386cdf60620344adf37dd3c634aceabc (patch)
tree4d91c09b906cba6d29808eb0ce0adab8065a59ce
parentef2b0cfa4a7327d8e6fd086452890cebe55e3b6f (diff)
downloadmonzero-gui-4a30d1fc386cdf60620344adf37dd3c634aceabc.tar.gz
monzero-gui-4a30d1fc386cdf60620344adf37dd3c634aceabc.tar.xz
monzero-gui-4a30d1fc386cdf60620344adf37dd3c634aceabc.zip
Account: update label after rename
-rw-r--r--pages/Account.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/pages/Account.qml b/pages/Account.qml
index b9ae66a4..d3c058b6 100644
--- a/pages/Account.qml
+++ b/pages/Account.qml
@@ -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))