preheat: Fix bug where temperature_sensor is tried to be activated

This commit is contained in:
Jordan committed 2021-05-09 13:57:32 -04:00
1 parent bd1650fd18
commit 449f3274c6
1 file changed
+2
+2
View File
@@ -83,6 +83,8 @@ class PreheatPanel(ScreenPanel):
self.select_heater(None, x)
for h in self._printer.get_heaters():
if h.startswith("temperature_sensor "):
continue
if h not in self.active_heaters:
self.select_heater(None, h)