From 07e3a1223c33397423ef03ea25f70c6110e0caf9 Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Sun, 3 May 2026 11:43:15 +0200 Subject: [PATCH] fix: unpack 4-tuple markers in export overlap check The marker format was extended to include clip_span but the overlap check in _on_export still unpacked 3 values, causing a crash on export. Co-Authored-By: Claude Opus 4.6 --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index f39a24a..251c154 100755 --- a/main.py +++ b/main.py @@ -5524,10 +5524,10 @@ class MainWindow(QMainWindow): # Check for overlapping existing markers if not self._overwrite_path: clip_end = self._cursor + self._clip_span - for t, _num, _path in self._timeline._markers: + for t, _num, _path, m_span in self._timeline._markers: if abs(t - self._cursor) < 0.1: continue # same position (overwrite case) - marker_end = t + self._clip_dur + marker_end = t + m_span if self._cursor < marker_end and clip_end > t: self._show_status("Warning: overlaps with existing export", 3000) break