Fix callback to output device with selected printer

This is a new function that just selects the printer.

Contributes to issue CURA-5097.
This commit is contained in:
Ghostkeeper 2018-03-19 11:39:41 +01:00
parent 5bb20f6133
commit 7a464a92ca
No known key found for this signature in database
GPG Key ID: 5252B696FB5E7C7A

View File

@ -101,7 +101,7 @@ UM.Dialog
enabled: true
onClicked: {
base.visible = false;
OutputDevice.sendPrintJob(printerSelectionCombobox.model.get(printerSelectionCombobox.currentIndex).key)
OutputDevice.selectPrinter(printerSelectionCombobox.model.get(printerSelectionCombobox.currentIndex).key)
// reset to defaults
printerSelectionCombobox.currentIndex = 0
}