♻ Return from connect if already connected
This commit is contained in:
1 parent
86d442a1e3
commit
ff47314d76
1 file changed
+1
-1
@@ -255,7 +255,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
|
||||
will be attempted.
|
||||
"""
|
||||
if self._comm is not None:
|
||||
self.disconnect()
|
||||
return
|
||||
|
||||
eventManager().fire(Events.CONNECTING)
|
||||
self._printerProfileManager.select(profile)
|
||||
|
||||
Reference in new issue
Block a user