mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
CURA-4881 Remove the automatic option for buildplates if there is no information about them
This commit is contained in:
parent
0954211be8
commit
e227ab5a23
1 changed files with 2 additions and 2 deletions
|
|
@ -33,14 +33,14 @@ Menu
|
|||
id: automaticBuildplate
|
||||
text:
|
||||
{
|
||||
if(printerConnected && Cura.MachineManager.printerOutputDevices[0].buildplateId != "" && !isClusterPrinter)
|
||||
if (visible)
|
||||
{
|
||||
var buildplateName = Cura.MachineManager.printerOutputDevices[0].buildplateId
|
||||
return catalog.i18nc("@title:menuitem %1 is the buildplate currently loaded in the printer", "Automatic: %1").arg(buildplateName)
|
||||
}
|
||||
return ""
|
||||
}
|
||||
visible: printerConnected && Cura.MachineManager.printerOutputDevices[0].buildplateId != "" && !isClusterPrinter
|
||||
visible: printerConnected && Cura.MachineManager.printerOutputDevices[0].hotendIds != undefined && Cura.MachineManager.printerOutputDevices[0].buildplateId != "" && !isClusterPrinter
|
||||
onTriggered:
|
||||
{
|
||||
var buildplateId = Cura.MachineManager.printerOutputDevices[0].buildplateId
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue