mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Monitor Tab - Camera button toggles
Contributes to CL-1049
This commit is contained in:
parent
0a01e7c25b
commit
dccc95f817
1 changed files with 8 additions and 1 deletions
|
|
@ -651,6 +651,12 @@ Component
|
||||||
anchors.fill:parent
|
anchors.fill:parent
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
onClicked:
|
onClicked:
|
||||||
|
{
|
||||||
|
if (OutputDevice.activeCamera !== null)
|
||||||
|
{
|
||||||
|
OutputDevice.setActiveCamera(null)
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
OutputDevice.setActiveCamera(modelData.camera)
|
OutputDevice.setActiveCamera(modelData.camera)
|
||||||
}
|
}
|
||||||
|
|
@ -658,6 +664,7 @@ Component
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ProgressBar
|
ProgressBar
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue