Do not run the optimize pass if writing was cancelled

This commit is contained in:
Damiano Galassi committed 2024-11-29 12:53:12 +01:00
1 parent 5e0e5b677e
commit 43d56d7851
3 files changed
+15 -5

No files matched your search

+2 -2
View File
@@ -280,8 +280,8 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
}
}
func cancel() {
mp4.cancel()
func cancelSave() {
doc.cancelSave()
}
// MARK: Actions