mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
[Panoram Viewer] Avoid problems with null state for image container
This commit is contained in:
parent
73999c43e4
commit
cfd03bb2c9
1 changed files with 1 additions and 1 deletions
|
@ -1059,7 +1059,7 @@ FocusScope {
|
||||||
// running property binding seems broken, only dynamic binding assignment works
|
// running property binding seems broken, only dynamic binding assignment works
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
running = Qt.binding(function() {
|
running = Qt.binding(function() {
|
||||||
return (root.usePanoramaViewer === true && imgContainer.image.allImagesLoaded === false)
|
return (root.usePanoramaViewer === true && imgContainer.image && imgContainer.image.allImagesLoaded === false)
|
||||||
|| (imgContainer.image && imgContainer.image.status === Image.Loading)
|
|| (imgContainer.image && imgContainer.image.status === Image.Loading)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue