Re-add config changes in monitor tab

Contributes to CL-1152
This commit is contained in:
Ian Paschal 2018-12-10 11:36:51 +01:00
parent ad7dcf6fc0
commit 8a856f13d2
9 changed files with 210 additions and 32 deletions

View file

@ -23,7 +23,7 @@ Item
anchors.fill: parent
opacity:
{
if (printJob && (printJob.state == "error" || !printJob.isActive))
if (printJob && (printJob.state == "error" || printJob.configurationChanges.length > 0 || !printJob.isActive))
{
return 0.5
}
@ -60,6 +60,10 @@ Item
height: 0.5 * printJobPreview.height
source:
{
if (printJob.configurationChanges.length > 0)
{
return "../svg/warning-icon.svg"
}
switch(printJob.state)
{
case "error":
@ -75,6 +79,7 @@ Item
default:
return ""
}
return ""
}
sourceSize
{