Only show the transmittance input when the color model is Translucency

CURA-6540
This commit is contained in:
Nino van Hooff 2019-10-25 09:57:39 +02:00
parent 2e43f63adb
commit 6e65fe5772

View file

@ -169,6 +169,7 @@ UM.Dialog
Layout.fillWidth:true Layout.fillWidth:true
height: childrenRect.height height: childrenRect.height
text: catalog.i18nc("@info:tooltip","The percentage of light penetrating a print with a thickness of 1 millimeter. Lowering this value increases the contrast in dark regions and decreases the contrast in light regions of the image.") text: catalog.i18nc("@info:tooltip","The percentage of light penetrating a print with a thickness of 1 millimeter. Lowering this value increases the contrast in dark regions and decreases the contrast in light regions of the image.")
visible: color_model.currentText == catalog.i18nc("@item:inlistbox","Translucency")
Row { Row {
width: parent.width width: parent.width