fix(main.py): correct key binding for video navigation to avoid duplication

This commit is contained in:
2025-09-04 22:11:06 +02:00
parent b510ec9637
commit 4ffd4cd321

View File

@@ -1433,10 +1433,10 @@ class VideoEditor:
elif key == ord("2"): elif key == ord("2"):
self.cut_end_frame = self.current_frame self.cut_end_frame = self.current_frame
print(f"Set cut end at frame {self.current_frame}") print(f"Set cut end at frame {self.current_frame}")
elif key == ord("n"): elif key == ord("N"):
if len(self.video_files) > 1: if len(self.video_files) > 1:
self.previous_video() self.previous_video()
elif key == ord("N"): elif key == ord("n"):
if len(self.video_files) > 1: if len(self.video_files) > 1:
self.next_video() self.next_video()
elif key == 13: # Enter elif key == 13: # Enter