mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -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
|
||||
|
|
|
@ -23,7 +23,6 @@ Component
|
|||
name: "cura"
|
||||
}
|
||||
|
||||
|
||||
Label
|
||||
{
|
||||
id: manageQueueLabel
|
||||
|
|
|
@ -595,7 +595,6 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
|
|||
printer.updateName(data["friendly_name"])
|
||||
printer.updateKey(data["uuid"])
|
||||
printer.updateType(data["machine_variant"])
|
||||
printer.updateEnabled(data["enabled"])
|
||||
|
||||
# Do not store the build plate information that comes from connect if the current printer has not build plate information
|
||||
if "build_plate" in data and machine_definition.getMetaDataEntry("has_variant_buildplates", False):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue