mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
Remove deprecated functions in MachineManager
CURA-6858
This commit is contained in:
parent
7544d049c5
commit
38ee4bf208
15 changed files with 27 additions and 170 deletions
|
@ -103,7 +103,7 @@ Item
|
|||
id: activateMenuButton
|
||||
text: catalog.i18nc("@action:button", "Activate")
|
||||
iconName: "list-activate"
|
||||
enabled: !isCurrentItemActivated && Cura.MachineManager.hasMaterials
|
||||
enabled: !isCurrentItemActivated && Cura.MachineManager.activeMachine.hasMaterials
|
||||
onClicked:
|
||||
{
|
||||
forceActiveFocus()
|
||||
|
@ -227,7 +227,7 @@ Item
|
|||
text:
|
||||
{
|
||||
var caption = catalog.i18nc("@action:label", "Printer") + ": " + Cura.MachineManager.activeMachine.name;
|
||||
if (Cura.MachineManager.hasVariants)
|
||||
if (Cura.MachineManager.activeMachine.hasVariants)
|
||||
{
|
||||
var activeVariantName = ""
|
||||
if(Cura.MachineManager.activeStack != null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue