base_panel: minor fixup for the new titlebar func

This commit is contained in:
alfrix committed 2024-01-11 22:26:10 -03:00
1 parent 2af58ef8ea
commit 8143636adb
1 file changed
+2 -1
+2 -1
View File
@@ -131,9 +131,10 @@ class BasePanel(ScreenPanel):
break
if device.startswith("extruder") and self.current_extruder is False:
self.control['temp_box'].add(self.labels[f"{device}_box"])
n += 1
elif device.startswith("heater"):
self.control['temp_box'].add(self.labels[f"{device}_box"])
n += 1
n += 1
for device in devices:
# Users can fill the bar if they want
if n >= nlimit + 1: