fixup for connection refactor: do not try to reconnect if on printer_select

This commit is contained in:
alfrix committed 2024-05-03 14:32:30 -03:00
1 parent 4b9295de76
commit 5f70492e98
1 file changed
+2 -1
+2 -1
View File
@@ -677,7 +677,8 @@ class KlipperScreen(Gtk.Window):
self.connecting = True
self.connected_printer = None
self.initialized = False
self.connect_printer(self.connecting_to_printer)
if 'printer_select' not in self._cur_panels:
self.connect_printer(self.connecting_to_printer)
def state_disconnected(self):
logging.debug("### Going to disconnected")