fix(main.py): include keys '1' through '5' in the condition to prevent unintended navigation

This commit is contained in:
2025-08-19 09:22:30 +02:00
parent d62fbb055e
commit 74c5b48a83

View File

@@ -845,8 +845,8 @@ class MediaGrader:
self.current_frame = 0 self.current_frame = 0
self.load_current_frame() self.load_current_frame()
if key not in [ord("p"), ord("u")]: if key not in [ord("p"), ord("u"), ord("1"), ord("2"), ord("3"), ord("4"), ord("5")]:
print("Navigating to: ", self.current_index) print("Navigating to (pu12345): ", self.current_index)
self.current_index += 1 self.current_index += 1
if self.current_cap: if self.current_cap: