Skip to content

Commit

Permalink
[Viewer] Check that the featureViewer exists before accessing it
Browse files Browse the repository at this point in the history
  • Loading branch information
cbentejac committed Jul 4, 2023
1 parent e1ada83 commit ca1c23c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshroom/ui/qml/Viewer/FeaturesInfoOverlay.qml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ FloatingPane {
ToolTip.visible: hovered
Layout.fillHeight: true
Layout.alignment: Qt.AlignRight
checked: root.featuresViewer.displayTrackEndpoints
checked: root.featuresViewer ? root.featuresViewer.displayTrackEndpoints : false
onClicked: root.featuresViewer.displayTrackEndpoints = displayTrackEndpointsCB.checked
}
}
Expand Down

0 comments on commit ca1c23c

Please sign in to comment.