From d388d3cbfdcf5b9e211f685fafe3677c6f2a0623 Mon Sep 17 00:00:00 2001 From: in03 Date: Fri, 2 Dec 2022 09:25:15 +1000 Subject: [PATCH] fix: "Clear changes" deletes non Patchwork markers --- src/patchwork/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/patchwork/app.py b/src/patchwork/app.py index f0f10cc..007a898 100644 --- a/src/patchwork/app.py +++ b/src/patchwork/app.py @@ -362,7 +362,7 @@ def clear_markers(): if not markers: return False - [x.delete() for x in markers] + [x.delete() for x in markers if x.customdata == "patchwork_marker"] force_refresh = True markers = copy.copy(resolve.active_timeline.markers) return True