Account/Receive: update table on new entry

This commit is contained in:
selsta
2019-07-21 21:17:18 +02:00
parent 705439c78b
commit e6642c4338
2 changed files with 2 additions and 0 deletions

View File

@@ -256,6 +256,7 @@ Rectangle {
inputDialog.onAcceptedCallback = function() {
appWindow.currentWallet.subaddress.addRow(appWindow.currentWallet.currentSubaddressAccount, inputDialog.inputText)
current_subaddress_table_index = appWindow.currentWallet.numSubaddresses(appWindow.currentWallet.currentSubaddressAccount) - 1
subaddressListView.currentIndex = current_subaddress_table_index
}
inputDialog.onRejectedCallback = null;
inputDialog.open()