Minor Update

This commit is contained in:
2024-01-23 20:46:19 +08:00
parent bf76de0f5a
commit b42d5169b8
2 changed files with 4 additions and 2 deletions

View File

@@ -79,6 +79,8 @@ class MainFlutterWindow: NSWindow {
panel.allowedContentTypes = [typ]
}
panel.allowsOtherFileTypes = true
panel.isExtensionHidden = false
panel.nameFieldStringValue = fileName + (ext ?? "")
panel.begin { (res) in
if res == NSApplication.ModalResponse.OK {
if let fn = panel.url {