mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: improve FileDialog selection in "Open With - Other..." on macOS
This commit is contained in:
parent
b753e8b668
commit
3da73c7785
1 changed files with 1 additions and 0 deletions
|
|
@ -449,6 +449,7 @@ begin
|
|||
appDialog.DefaultExt:= 'app';
|
||||
appDialog.InitialDir:= '/Applications';
|
||||
appDialog.Filter:= rsOpenWithMacOSFilter;
|
||||
appDialog.OptionsEx:= [ofShowsFilePackagesSwitch];
|
||||
if appDialog.Execute and (NOT appDialog.FileName.IsEmpty) then begin
|
||||
Result:= appDialog.FileName;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue