Rename setKey() and add docs

CURA-6011
This commit is contained in:
Lipu Fei 2018-12-14 10:55:34 +01:00
parent 99cee1dfe7
commit aba3b6dd8e
2 changed files with 8 additions and 4 deletions

View file

@ -28,7 +28,7 @@ Cura.MachineAction
// Check if there is another instance with the same key
if (!manager.existsKey(printerKey))
{
manager.setKey(base.selectedDevice)
manager.associateActiveMachineWithPrinterDevice(base.selectedDevice)
manager.setGroupName(printerName) // TODO To change when the groups have a name
completed()
}