Improve hidden files on macOS.
This commit is contained in:
parent
c73af92d4e
commit
2a38a8892c
1 changed files with 2 additions and 2 deletions
|
@ -73,12 +73,12 @@ func selectFileSave(options []Option) (string, error) {
|
|||
|
||||
data := zenutil.File{
|
||||
Prompt: opts.title,
|
||||
Invisibles: opts.showHidden,
|
||||
}
|
||||
if opts.directory {
|
||||
data.Operation = "chooseFolder"
|
||||
} else {
|
||||
data.Operation = "chooseFileName"
|
||||
data.Type = initFilters(opts.fileFilters)
|
||||
}
|
||||
data.Location, data.Name = splitDirAndName(opts.filename)
|
||||
|
||||
|
|
Loading…
Reference in a new issue