mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 00:05:59 +08:00
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:
parent
5bb20f6133
commit
7a464a92ca
@ -101,7 +101,7 @@ UM.Dialog
|
|||||||
enabled: true
|
enabled: true
|
||||||
onClicked: {
|
onClicked: {
|
||||||
base.visible = false;
|
base.visible = false;
|
||||||
OutputDevice.sendPrintJob(printerSelectionCombobox.model.get(printerSelectionCombobox.currentIndex).key)
|
OutputDevice.selectPrinter(printerSelectionCombobox.model.get(printerSelectionCombobox.currentIndex).key)
|
||||||
// reset to defaults
|
// reset to defaults
|
||||||
printerSelectionCombobox.currentIndex = 0
|
printerSelectionCombobox.currentIndex = 0
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user