[Development] How to skip write property in qml's property binding?
André Somers
andre at familiesomers.nl
Mon Jul 22 07:11:29 CEST 2024
On 19-07-2024 11:25, JiDe Zhang wrote:
> Thank you, but I can't use `text: fooObject?.foo ?? ""`, because I
> would not the `text` property change if when fooObject change to null.
> If fooObject's new value is null, I want the |text| property keep old
> value.||
Sounds to me you need an assignment, not a binding.
Cheers,
André
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20240722/76c36cdd/attachment.htm>
More information about the Development
mailing list