[Panorama Viewer] Update status of the fisheye circle button

This commit is contained in:
Landrodie 2021-08-18 10:44:33 +02:00 committed by Fabien Castan
parent 7e65c91bf5
commit b24b59d1c1

View file

@ -907,6 +907,9 @@ FocusScope {
if(displayLensDistortionViewer.checked && checked){
displayLensDistortionViewer.checked = false;
}
if(displayFisheyeCircleLoader.checked && checked){
displayFisheyeCircleLoader.checked = false;
}
}
onEnabledChanged : {
if(!enabled){
@ -937,7 +940,7 @@ FocusScope {
Layout.minimumWidth: 0
checkable: true
checked: false
enabled: activeNode && activeNode.attribute("useFisheye").value
enabled: activeNode && activeNode.attribute("useFisheye").value && !displayPanoramaViewer.checked
visible: activeNode
}
MaterialToolButton {