[ImageGallery] Check the intrinsics model is not null before using it

This commit is contained in:
Candice Bentéjac 2023-01-26 18:46:02 +01:00
parent 422d9da48c
commit db7fdefacb

View file

@ -125,7 +125,7 @@ RowLayout {
id: choice_component
ComboBox {
id: combo
model: attribute.desc.values
model: attribute.desc !== undefined ? attribute.desc.values : undefined
width: intrinsicModel.columnWidths[columnIndex]
enabled: !root.readOnly