diff options
| author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2025-10-09 12:52:35 +0300 |
|---|---|---|
| committer | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2025-10-09 13:15:58 +0300 |
| commit | 4d249f9cdbf90d0b4e81790e86a2c564a8ea5310 (patch) | |
| tree | 2411c19e7f2b519df59a70510791d44a6ba61144 | |
| parent | 394200695c7dca4723624c6219054cb3aa96bedb (diff) | |
Fix BidirectionalBinding crash with null targetsunification
Fixes: QDS-15944
Change-Id: Iabf1c1f6a91c8d68256128c5d151cd0e842ab9f4
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
| -rw-r--r-- | components/imports/logichelper/BidirectionalBinding.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/imports/logichelper/BidirectionalBinding.qml b/components/imports/logichelper/BidirectionalBinding.qml index 49c4c0a..fb33504 100644 --- a/components/imports/logichelper/BidirectionalBinding.qml +++ b/components/imports/logichelper/BidirectionalBinding.qml @@ -137,13 +137,13 @@ QtObject { property Binding __b01: Binding { target: __internal property: "value01" - value: target01[property01] + value: target01 ? target01[property01] : null } property Binding __b02: Binding { target: __internal property: "value02" - value: target02[property02] + value: target02 ? target02[property02] : null } |
