Fix blue square being shown in selector if no icon is set

CURA-5876
This commit is contained in:
Jaime van Kessel 2018-12-14 11:09:48 +01:00
parent 0d780e61ff
commit 5e4e52e6fc

View File

@ -41,7 +41,7 @@ Cura.ExpandablePopup
}
font: UM.Theme.getFont("medium")
iconColor: UM.Theme.getColor("machine_selector_printer_icon")
iconSize: UM.Theme.getSize("machine_selector_icon").width
iconSize: source != "" ? UM.Theme.getSize("machine_selector_icon").width: 0
UM.RecolorImage
{