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

View File

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