IDE: Remove the unnecessary ofExtensionDifferent from Options dialog

This commit is contained in:
n7800 2025-04-08 12:46:03 +00:00
parent abf1cfc7c4
commit 19ea4e1a35

View File

@ -1004,7 +1004,7 @@ begin
DirDlg.Title := aTitle;
DirDlg.InitialDir := lDirPath;
DirDlg.FileName := lDirName;
DirDlg.Options := DirDlg.Options + [ofExtensionDifferent, ofPathMustExist];
DirDlg.Options := DirDlg.Options + [ofPathMustExist];
if DirDlg.Execute then begin
lDirName := CleanAndExpandFilename(DirDlg.FileName);
if CompareFilenames(lCurDirName, lDirName) <> 0 then