preheat: Fix bug where temperature_sensor is tried to be activated

This commit is contained in:
Jordan 2021-05-09 13:57:32 -04:00
parent bd1650fd18
commit 449f3274c6

View File

@ -83,6 +83,8 @@ class PreheatPanel(ScreenPanel):
self.select_heater(None, x) self.select_heater(None, x)
for h in self._printer.get_heaters(): for h in self._printer.get_heaters():
if h.startswith("temperature_sensor "):
continue
if h not in self.active_heaters: if h not in self.active_heaters:
self.select_heater(None, h) self.select_heater(None, h)