From b4059b1f7d3ea297d02169418d414b3779f7fad7 Mon Sep 17 00:00:00 2001 From: Cuteivist Date: Wed, 10 Jul 2024 11:03:32 +0200 Subject: [PATCH] chore: Refresh pre selected account property (#15503) --- ui/imports/shared/popups/send/SendModal.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/imports/shared/popups/send/SendModal.qml b/ui/imports/shared/popups/send/SendModal.qml index 4b5cd9aa08..401028f498 100644 --- a/ui/imports/shared/popups/send/SendModal.qml +++ b/ui/imports/shared/popups/send/SendModal.qml @@ -58,7 +58,10 @@ StatusDialog { standardButtons: StandardButton.Ok } - readonly property var selectedAccount: selectedSenderAccountEntry.item ?? ModelUtils.get(store.accounts, 0) + readonly property var selectedAccount: { + selectedSenderAccountEntry.value // Item changed is not triggered when the value is changed + return selectedSenderAccountEntry.item ?? ModelUtils.get(store.accounts, 0) + } property var sendTransaction: function() { d.isPendingTx = true