fixup for connection refactor: do not try to reconnect if on printer_select
This commit is contained in:
parent
4b9295de76
commit
5f70492e98
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user