Re-added manual printer adding

CL-541
This commit is contained in:
Jaime van Kessel 2017-12-20 16:30:40 +01:00
parent d66e9493ca
commit 041b1830fe
4 changed files with 128 additions and 7 deletions

View file

@ -101,7 +101,7 @@ Cura.MachineAction
id: removeButton
text: catalog.i18nc("@action:button", "Remove")
enabled: base.selectedDevice != null && base.selectedDevice.getProperty("manual") == "true"
onClicked: manager.removeManualPrinter(base.selectedDevice.key, base.selectedDevice.ipAddress)
onClicked: manager.removeManualDevice(base.selectedDevice.key, base.selectedDevice.ipAddress)
}
Button
@ -343,7 +343,7 @@ Cura.MachineAction
onAccepted:
{
manager.setManualPrinter(printerKey, addressText)
manager.setManualDevice(printerKey, addressText)
}
Column {