mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
Fixed connecting for clean machine
CL-541
This commit is contained in:
parent
99de75a3fd
commit
dcf02137ad
1 changed files with 1 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue