♻ Return from connect if already connected

This commit is contained in:
Gina Häußge committed 2020-06-09 16:01:54 +02:00
1 parent 86d442a1e3
commit ff47314d76
1 file changed
+1 -1
+1 -1
View File
@@ -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)