base_panel: fix titlebar_items not configured 2

This commit is contained in:
alfrix 2022-03-05 18:15:20 -03:00
parent 3d009ad72b
commit 0458a19b63

View File

@ -197,8 +197,6 @@ class BasePanel(ScreenPanel):
logging.info("Titlebar items: %s", titlebar_items)
self.titlebar_name_type = printer_cfg.get("titlebar_name_type", None)
logging.info("Titlebar name type: %s", self.titlebar_name_type)
else:
titlebar_items = None
for device in self._printer.get_temp_store_devices():
# Users can fill the bar if they want
if n >= nlimit + 1: