mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:46:05 +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
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user