st ten 10 print_button and instructions wip
This commit is contained in:
parent
89fae6cfa1
commit
bd37d53bb4
@ -62,6 +62,12 @@ class Test_Instructions(Test_Test):
|
|||||||
return show
|
return show
|
||||||
|
|
||||||
def toggle_icons(self):
|
def toggle_icons(self):
|
||||||
|
default_image_path = os.path.join("config", "instruction_images", self.config["machine"]["instruction_folder"],
|
||||||
|
"DEFAULT.svg")
|
||||||
|
|
||||||
|
if self.svg_path is None or self.svg_path == default_image_path:
|
||||||
|
if hasattr(self,
|
||||||
|
"print_b") and not self.done: # Verifica se il pulsante di stampa è abilitato e non è stato premuto
|
||||||
self.flag = not self.flag
|
self.flag = not self.flag
|
||||||
|
|
||||||
for elem in self.tape_ids:
|
for elem in self.tape_ids:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user