IDE: save project as: added all files filter

git-svn-id: trunk@58050 -
This commit is contained in:
mattias 2018-05-29 07:27:59 +00:00
parent c21589c84d
commit 5ea6791db5

View File

@ -8091,7 +8091,9 @@ begin
Ext := ExtractFileExt(AFilename);
SaveDialog.Title := Format(lisSaveProject, [Project1.GetTitleOrName, Ext]);
SaveDialog.FileName := AFilename;
SaveDialog.Filter := '*' + Ext + '|' + '*' + Ext;
// Note: add *.* filter, so users can see the files in the target directory
SaveDialog.Filter := '*' + Ext + '|' + '*' + Ext
+ '|' + dlgFilterAll + ' (' + GetAllFilesMask + ')|' + GetAllFilesMask;
SaveDialog.DefaultExt := ExtractFileExt(AFilename);
if not Project1.IsVirtual then
SaveDialog.InitialDir := Project1.Directory;