mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-01 23:01:10 -07:00
Callbacks are now handled by url and operation type.
It would have been nicer to use the request, but it's unhashable. Cl-541
This commit is contained in:
parent
03304003af
commit
61753540e4
4 changed files with 13 additions and 9 deletions
|
|
@ -29,6 +29,12 @@ Cura.MachineAction
|
|||
|
||||
function connectToPrinter()
|
||||
{
|
||||
if(base.selectedDevice)
|
||||
{
|
||||
var deviceKey = base.selectedDevice.key
|
||||
manager.setKey(deviceKey);
|
||||
completed();
|
||||
}
|
||||
if(base.selectedPrinter && base.completeProperties)
|
||||
{
|
||||
var printerKey = base.selectedDevice.key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue