diff options
| author | selsta <selsta@sent.at> | 2019-07-21 21:17:18 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2019-07-21 21:17:18 +0200 |
| commit | e6642c43386777cc082e3c9eb6264e70ea30f95f (patch) | |
| tree | e67366e7945db61b7e58d8f3d8394c3b57a790ac | |
| parent | 705439c78b9e33637505aaf8c3f6b433cc5854ce (diff) | |
| download | monzero-gui-e6642c43386777cc082e3c9eb6264e70ea30f95f.tar.gz monzero-gui-e6642c43386777cc082e3c9eb6264e70ea30f95f.tar.xz monzero-gui-e6642c43386777cc082e3c9eb6264e70ea30f95f.zip | |
Account/Receive: update table on new entry
| -rw-r--r-- | pages/Account.qml | 1 | ||||
| -rw-r--r-- | pages/Receive.qml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/pages/Account.qml b/pages/Account.qml index 4709aede..4f7dcce4 100644 --- a/pages/Account.qml +++ b/pages/Account.qml @@ -365,6 +365,7 @@ Rectangle { appWindow.currentWallet.subaddressAccount.addRow(inputDialog.inputText) appWindow.currentWallet.switchSubaddressAccount(appWindow.currentWallet.numSubaddressAccounts() - 1) current_subaddress_account_table_index = appWindow.currentWallet.numSubaddressAccounts() - 1 + subaddressAccountListView.currentIndex = current_subaddress_account_table_index appWindow.onWalletUpdate(); } inputDialog.onRejectedCallback = null; diff --git a/pages/Receive.qml b/pages/Receive.qml index 630690ae..f33525ad 100644 --- a/pages/Receive.qml +++ b/pages/Receive.qml @@ -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() |
