diff --git a/src/ui/test/test.py b/src/ui/test/test.py
index 6cd140d..1c20663 100755
--- a/src/ui/test/test.py
+++ b/src/ui/test/test.py
@@ -475,6 +475,7 @@ class Test(Widget):
}))
skip.add(i + 1)
if step.step_type == "print":
+ self.print_template = step.spec.get("template", "EtichettaR5") # Store the template
if print_found:
continue
steps.insert(i, Step(step_type="done"))
diff --git a/src/ui/test_leak/test_leak.py b/src/ui/test_leak/test_leak.py
index b83c073..7cc6d05 100644
--- a/src/ui/test_leak/test_leak.py
+++ b/src/ui/test_leak/test_leak.py
@@ -103,7 +103,7 @@ class Test_Leak(Test_Test):
self.test_num_l.setText("2/2")
else:
self.test_num_l.setText("1/1")
-
+ self.template_print_l.setText(f"{self.parent.print_template}")
self.recipe_pressure_l.setText(f"{self.step.spec['test_pressure']}")
self.leak_min_l.setText(f"{self.step.spec['test_pressure_qneg']}")
self.leak_max_l.setText(f"{self.step.spec['test_pressure_qpos']}")
diff --git a/src/ui/test_leak/test_leak.ui b/src/ui/test_leak/test_leak.ui
index 9e4ac6b..f649d89 100644
--- a/src/ui/test_leak/test_leak.ui
+++ b/src/ui/test_leak/test_leak.ui
@@ -2254,6 +2254,48 @@ border: 1px solid black;
+ -
+
+
+
+ 16
+ 50
+ false
+
+
+
+ background-color: rgb(255, 255, 255);
+border: 1px solid black;
+
+
+
+ QFrame::NoFrame
+
+
+ QFrame::Plain
+
+
+ -
+
+
+
+ -
+
+
+
+ 16
+ 50
+ false
+
+
+
+ Qt::LeftToRight
+
+
+ Etichetta Selezionata
+
+
+