mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Fix "Activate" button on the Manage Printers page
CURA-1278
This commit is contained in:
parent
75a0604871
commit
64a613f407
1 changed files with 4 additions and 2 deletions
|
@ -22,9 +22,11 @@ UM.ManagementPage
|
|||
onAddObject: Printer.requestAddPrinter()
|
||||
onRemoveObject: confirmDialog.open();
|
||||
onRenameObject: renameDialog.open();
|
||||
onActivateObject: Cura.MachineManager.setActiveMachine(base.currentItem.id)
|
||||
|
||||
removeEnabled: numInstances > 1
|
||||
renameEnabled: numInstances > 0
|
||||
removeEnabled: base.currentItem != null && numInstances > 1
|
||||
renameEnabled: base.currentItem != null && numInstances > 0
|
||||
activateEnabled: base.currentItem != null
|
||||
|
||||
Flow
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue