Closed strawberrymetropolis closed 1 day ago
The documentation is wrong here. The item
and color
properties are actually the raw C++ pointers and you have to convert them via let item = BrickLink.item(pg.item)
to something QML/JS understands first (same for color).
It's a bit unfortunate, but I didn't want to sacrifice any performance and memory consumption by blindly wrapping everything, even if it's not used at all.
I leave this one open, so I don't forget to fix the docs.
Thanks for the super-fast response @rgriebl !
Describe the bug When receiving the
priceGuideUpdated
signal, the passedpriceGuide.item
is incomplete, for example missing theid
property.To Reproduce
Output in the Developer Console:
Expected behavior Receiving a complete item with all properties as documented here.
System information Ubuntu 22.04.4 LTS BrickStore 2024.5.2 (build: 1261)