mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 07:09:02 +08:00
Fixed connecting for clean machine
CL-541
This commit is contained in:
parent
99de75a3fd
commit
dcf02137ad
@ -29,13 +29,7 @@ Cura.MachineAction
|
||||
|
||||
function connectToPrinter()
|
||||
{
|
||||
if(base.selectedDevice)
|
||||
{
|
||||
var deviceKey = base.selectedDevice.key
|
||||
manager.setKey(deviceKey);
|
||||
completed();
|
||||
}
|
||||
if(base.selectedPrinter && base.completeProperties)
|
||||
if(base.selectedDevice && base.completeProperties)
|
||||
{
|
||||
var printerKey = base.selectedDevice.key
|
||||
if(manager.getStoredKey() != printerKey)
|
||||
|
Loading…
x
Reference in New Issue
Block a user