mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-06 18:57:56 +01:00
Set save dialog to be a floatingPanel (#1601)
This commit is contained in:
parent
f069222763
commit
d589087a2c
@ -52,6 +52,7 @@ class SafariWebExtensionHandler: NSObject, NSExtensionRequestHandling {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
let panel = NSSavePanel()
|
let panel = NSSavePanel()
|
||||||
|
panel.isFloatingPanel = true
|
||||||
panel.canCreateDirectories = true
|
panel.canCreateDirectories = true
|
||||||
panel.nameFieldStringValue = dlMsg.fileName
|
panel.nameFieldStringValue = dlMsg.fileName
|
||||||
panel.begin { response in
|
panel.begin { response in
|
||||||
|
Loading…
Reference in New Issue
Block a user