Monitor Tab - Camera button toggles

Contributes to CL-1049
This commit is contained in:
Ian Paschal 2018-09-12 16:46:18 +02:00
parent 0a01e7c25b
commit dccc95f817

View file

@ -651,6 +651,12 @@ Component
anchors.fill:parent
hoverEnabled: true
onClicked:
{
if (OutputDevice.activeCamera !== null)
{
OutputDevice.setActiveCamera(null)
}
else
{
OutputDevice.setActiveCamera(modelData.camera)
}
@ -658,6 +664,7 @@ Component
}
}
}
}
ProgressBar
{