This commit is contained in:
neo-dl 2022-10-19 14:09:15 +02:00
parent ea4a603464
commit 3325e5be52
2 changed files with 3 additions and 3 deletions

View File

@ -245,7 +245,7 @@ class Test(Widget):
# elif self.step.type == "fail":
# self.next_timer.start(2000)
elif self.step.type == "wait":
self.next_timer.start(6000)
self.next_timer.start(2000)
# UPDATE PIECES DISPLAY
self.pieces_count_l.setText(f"{self.pieces[0]} OK / {self.pieces[1]} NOK / {sum(self.pieces)} TOT")

View File

@ -28,11 +28,11 @@ class Test_Test(Widget):
self.done_ok = None
self.ok_timer = QTimer()
self.ok_timer.setSingleShot(True)
self.ok_timer.setInterval(2000)
self.ok_timer.setInterval(1000)
self.ok_timer.timeout.connect(self.emit_ok)
self.ko_timer = QTimer()
self.ko_timer.setSingleShot(True)
self.ko_timer.setInterval(2000)
self.ko_timer.setInterval(1000)
self.ko_timer.timeout.connect(self.emit_ko)
# setup save frame button
self.last = None