base_panel: minor fixup for the new titlebar func

This commit is contained in:
alfrix 2024-01-11 22:26:10 -03:00
parent 2af58ef8ea
commit 8143636adb

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: