mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Enable the tooltip when the camera button is disabled
CURA-8436
This commit is contained in:
parent
310417bb5b
commit
de9b1f82b9
2 changed files with 5 additions and 5 deletions
|
@ -30,7 +30,7 @@ Button
|
||||||
horizontalCenter: parent.horizontalCenter
|
horizontalCenter: parent.horizontalCenter
|
||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
color: UM.Theme.getColor("primary")
|
color: enabled ? UM.Theme.getColor("primary") : UM.Theme.getColor("main_background")
|
||||||
height: width
|
height: width
|
||||||
source: iconSource
|
source: iconSource
|
||||||
width: Math.round(parent.width / 2)
|
width: Math.round(parent.width / 2)
|
||||||
|
|
|
@ -271,8 +271,8 @@ Item
|
||||||
}
|
}
|
||||||
|
|
||||||
// For cloud printing, add this mouse area over the disabled cameraButton to indicate that it's not available
|
// For cloud printing, add this mouse area over the disabled cameraButton to indicate that it's not available
|
||||||
//Warning message is commented out because it's factually incorrect. Fix CURA-7637 to allow camera connections via cloud.
|
// Fix CURA-7637 to allow camera connections via cloud.
|
||||||
/* MouseArea
|
MouseArea
|
||||||
{
|
{
|
||||||
id: cameraDisabledButtonArea
|
id: cameraDisabledButtonArea
|
||||||
anchors.fill: cameraButton
|
anchors.fill: cameraButton
|
||||||
|
@ -286,9 +286,9 @@ Item
|
||||||
MonitorInfoBlurb
|
MonitorInfoBlurb
|
||||||
{
|
{
|
||||||
id: cameraDisabledInfo
|
id: cameraDisabledInfo
|
||||||
text: catalog.i18nc("@info", "The webcam is not available because you are monitoring a cloud printer.")
|
text: catalog.i18nc("@info", "The webcam is not available for cloud printers. Please visit the printer page in the Ultimaker Digital Factory to see the webcam snapshots.")
|
||||||
target: cameraButton
|
target: cameraButton
|
||||||
}*/
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Divider
|
// Divider
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue