Fix file extension in the save panel

This commit is contained in:
Damiano Galassi committed 2025-09-17 17:36:36 +02:00
1 parent 0b35d88f8d
commit 72a7288834
3 files changed
+43 -47

No files matched your search

+2
View File
@@ -205,6 +205,8 @@ final class Document: NSDocument {
private var accessoryViewController: SaveOptions?
override var shouldRunSavePanelWithAccessoryView: Bool { return false }
override var savePanelShowsFileFormatsControl: Bool { return false }
override func prepareSavePanel(_ savePanel: NSSavePanel) -> Bool {
self.accessoryViewController = SaveOptions(doc: self, savePanel: savePanel)