mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 09:38:12 +02:00
IDE: save project as: added all files filter
git-svn-id: trunk@58050 -
This commit is contained in:
parent
c21589c84d
commit
5ea6791db5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user