printer: tempstore fixup

This commit is contained in:
alfrix
2024-03-09 08:59:36 -03:00
parent 68c4025902
commit 97b4b544cb
3 changed files with 7 additions and 7 deletions

View File

@@ -70,7 +70,7 @@ class Panel(MenuPanel):
return False
def activate(self):
if self._printer.tempstore is None:
if not self._printer.tempstore:
self._screen.init_tempstore()
self.update_graph_visibility()

View File

@@ -186,7 +186,7 @@ class Panel(ScreenPanel):
self.graph_update = None
def activate(self):
if self._printer.tempstore is None:
if not self._printer.tempstore:
self._screen.init_tempstore()
self.update_graph_visibility()