mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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()
|
onAddObject: Printer.requestAddPrinter()
|
||||||
onRemoveObject: confirmDialog.open();
|
onRemoveObject: confirmDialog.open();
|
||||||
onRenameObject: renameDialog.open();
|
onRenameObject: renameDialog.open();
|
||||||
|
onActivateObject: Cura.MachineManager.setActiveMachine(base.currentItem.id)
|
||||||
|
|
||||||
removeEnabled: numInstances > 1
|
removeEnabled: base.currentItem != null && numInstances > 1
|
||||||
renameEnabled: numInstances > 0
|
renameEnabled: base.currentItem != null && numInstances > 0
|
||||||
|
activateEnabled: base.currentItem != null
|
||||||
|
|
||||||
Flow
|
Flow
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue