mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Revert "Add enabled state to printer, so that it can be displayed."
This reverts commit dd778f0450
.
This commit is contained in:
parent
dd778f0450
commit
132366fa61
4 changed files with 1 additions and 25 deletions
|
@ -192,18 +192,7 @@ Component
|
|||
Label
|
||||
{
|
||||
id: activeJobLabel
|
||||
text:
|
||||
{
|
||||
if(!modelData.enabled)
|
||||
{
|
||||
return catalog.i18nc("@label:status", "Not available")
|
||||
}
|
||||
if(modelData.activePrintjob != null)
|
||||
{
|
||||
return modelData.activePrintJob.name
|
||||
}
|
||||
return catalog.i18nc("@label:status", "Waiting")
|
||||
}
|
||||
text: modelData.activePrintJob != null ? modelData.activePrintJob.name : "waiting"
|
||||
anchors.top: machineNameLabel.bottom
|
||||
width: parent.width
|
||||
elide: Text.ElideRight
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue