chore: Revert binding workaround (#15572)

This commit is contained in:
Cuteivist 2024-07-15 11:44:26 +02:00 committed by GitHub
parent c4d930ef88
commit 00fd183a33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 4 deletions

View File

@ -63,10 +63,8 @@ StatusDialog {
standardButtons: StandardButton.Ok
}
readonly property var selectedAccount: {
selectedSenderAccountEntry.value // Item changed is not triggered when the value is changed
return selectedSenderAccountEntry.item ?? SQUtils.ModelUtils.get(store.accounts, 0)
}
// In case selected address is incorrect take first account from the list
readonly property var selectedAccount: selectedSenderAccountEntry.item ?? SQUtils.ModelUtils.get(store.accounts, 0)
property var sendTransaction: function() {
d.isPendingTx = true