Skip to content
Verified Commit eadcb7cb authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

AbstractListItem: Provide explicit fallback to optional chaining

Normally ListView.view attached property shouldn't be null when
ListView.isCurrentItem is true, but who knows how it can play out?
Propagation order of signals is not well-defined.

Without an explicit boolean fallback it could've evaluated to undefined.
Assigning undefined to bool property without RESET method is not
supported.
parent b03c0782
Pipeline #491225 passed with stage
in 3 minutes and 22 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment