UPD: improve FileDialog selection in "Open With - Other..." on macOS

This commit is contained in:
rich2014 2026-01-19 18:07:07 +08:00
commit 3da73c7785

View file

@ -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;