Skip to content

Commit d388d3c

Browse files
committed
fix: "Clear changes" deletes non Patchwork markers
1 parent ab7c610 commit d388d3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/patchwork/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def clear_markers():
362362
if not markers:
363363
return False
364364

365-
[x.delete() for x in markers]
365+
[x.delete() for x in markers if x.customdata == "patchwork_marker"]
366366
force_refresh = True
367367
markers = copy.copy(resolve.active_timeline.markers)
368368
return True

0 commit comments

Comments
 (0)