Clean up more errors

Contributes to CL-1051
This commit is contained in:
Ian Paschal 2018-10-16 09:34:50 +02:00
parent 1fa7a8880b
commit b99bc06d1c
5 changed files with 10 additions and 8 deletions

View file

@ -77,6 +77,9 @@ Item {
UM.RecolorImage {
anchors.centerIn: parent;
color: {
if (!printer) {
return "black";
}
if (printer.state == "disabled") {
return UM.Theme.getColor("monitor_tab_text_inactive");
}