When an printer gets added / removed, this is now correctly shown

CL-541
This commit is contained in:
Jaime van Kessel 2017-11-30 15:01:28 +01:00
parent 339d7ca4c9
commit 1c1c195b93
3 changed files with 23 additions and 3 deletions

View file

@ -82,7 +82,10 @@ Item
case "error":
return UM.Theme.getColor("status_stopped");
}
if(base.activePrintJob == null)
{
return UM.Theme.getColor("text");
}
switch(base.activePrintJob.state)
{
case "printing":