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 <noreply@anthropic.com>
This commit is contained in:
2026-05-03 11:43:15 +02:00
parent 3af6e05fb7
commit 07e3a1223c
+2 -2
View File
@@ -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