1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-07-07 12:25:46 +02:00

Set save dialog to be a floatingPanel (#1601)

This commit is contained in:
Oscar Hinton 2021-02-08 17:53:23 +01:00 committed by GitHub
parent f069222763
commit d589087a2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,7 @@ class SafariWebExtensionHandler: NSObject, NSExtensionRequestHandling {
return
}
let panel = NSSavePanel()
panel.isFloatingPanel = true
panel.canCreateDirectories = true
panel.nameFieldStringValue = dlMsg.fileName
panel.begin { response in