Skip to content

Commit 011a4a8

Browse files
committed
Updating protection of timeline_sync.timeline
1 parent abaa96d commit 011a4a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/windows/main_window.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def closeEvent(self, event):
175175
self.preview_parent.background.wait(5000)
176176

177177
# Close Timeline
178-
if self.timeline_sync:
178+
if self.timeline_sync and self.timeline_sync.timeline:
179179
self.timeline_sync.timeline.Close()
180180
self.timeline_sync.timeline = None
181181

0 commit comments

Comments
 (0)