fix: ensure `onSelectedRecipientChanged` signal is emitted
This commit is contained in:
parent
5ac4162f82
commit
968477b43f
|
@ -140,7 +140,8 @@ Item {
|
|||
anchors.topMargin: Style.current.halfPadding
|
||||
onResolved: {
|
||||
root.isResolvedAddress = true
|
||||
root.selectedContact.address = resolvedAddress
|
||||
const { name, alias, isContact, identicon, ensVerified } = root.selectedContact
|
||||
root.selectedContact = { address: resolvedAddress, name, alias, isContact, identicon, ensVerified }
|
||||
validate()
|
||||
}
|
||||
onIsPendingChanged: {
|
||||
|
|
|
@ -169,8 +169,10 @@ Item {
|
|||
if (!selAddressSource.selectedSource || (selAddressSource.selectedSource && selAddressSource.selectedSource.value !== RecipientSelector.Type.Address)) {
|
||||
return
|
||||
}
|
||||
root.selectedRecipient.address = selectedAddress
|
||||
root.selectedRecipient.type = RecipientSelector.Type.Address
|
||||
var recipient = root.selectedRecipient;
|
||||
recipient.address = selectedAddress
|
||||
recipient.type = RecipientSelector.Type.Address
|
||||
root.selectedRecipient = recipient
|
||||
}
|
||||
onIsValidChanged: root.validate()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue