mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 03:21:44 +02:00
Win32: Vista dialogs: reverse the logic of applying FOS_STRICTFILETYPES to IFileDialog.
This commit is contained in:
parent
e5c0139d49
commit
ed3e261065
@ -843,7 +843,7 @@ begin
|
|||||||
Result := 0;
|
Result := 0;
|
||||||
if ofAllowMultiSelect in Options then Result := Result or FOS_ALLOWMULTISELECT;
|
if ofAllowMultiSelect in Options then Result := Result or FOS_ALLOWMULTISELECT;
|
||||||
if ofCreatePrompt in Options then Result := Result or FOS_CREATEPROMPT;
|
if ofCreatePrompt in Options then Result := Result or FOS_CREATEPROMPT;
|
||||||
if ofExtensionDifferent in Options then Result := Result or FOS_STRICTFILETYPES;
|
if not (ofExtensionDifferent in Options) then Result := Result or FOS_STRICTFILETYPES;
|
||||||
if ofFileMustExist in Options then Result := Result or FOS_FILEMUSTEXIST;
|
if ofFileMustExist in Options then Result := Result or FOS_FILEMUSTEXIST;
|
||||||
if ofNoChangeDir in Options then Result := Result or FOS_NOCHANGEDIR;
|
if ofNoChangeDir in Options then Result := Result or FOS_NOCHANGEDIR;
|
||||||
if ofNoDereferenceLinks in Options then Result := Result or FOS_NODEREFERENCELINKS;
|
if ofNoDereferenceLinks in Options then Result := Result or FOS_NODEREFERENCELINKS;
|
||||||
|
Loading…
Reference in New Issue
Block a user