From db7fdefacbc024cfe858464f66fa510eae4f20a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Candice=20Bent=C3=A9jac?= Date: Thu, 26 Jan 2023 18:46:02 +0100 Subject: [PATCH] [ImageGallery] Check the intrinsics model is not null before using it --- meshroom/ui/qml/ImageGallery/IntrinsicDisplayDelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshroom/ui/qml/ImageGallery/IntrinsicDisplayDelegate.qml b/meshroom/ui/qml/ImageGallery/IntrinsicDisplayDelegate.qml index f8e249e7..14adc78a 100644 --- a/meshroom/ui/qml/ImageGallery/IntrinsicDisplayDelegate.qml +++ b/meshroom/ui/qml/ImageGallery/IntrinsicDisplayDelegate.qml @@ -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