mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 22:58:50 +02:00
* Small fix so .lps file and .lrs files are not added to project
git-svn-id: trunk@20754 -
This commit is contained in:
parent
ee7e524e08
commit
2bfcf73b02
@ -331,8 +331,8 @@ begin
|
||||
begin
|
||||
FN:=FTemplate.FileNames[I];
|
||||
E:=ExtractFileExt(FN);
|
||||
If (CompareText(E,'.lpr')<>0)
|
||||
and (CompareText(E,'.lfm')<>0) then
|
||||
If (CompareText(E,'.lpr')<>0) and (CompareText(E,'.lps')<>0)
|
||||
and (CompareText(E,'.lfm')<>0) and (CompareText(E,'.lrs')<>0) then
|
||||
begin
|
||||
FN:=FProjectDirectory+FTemplate.TargetFileName(FN,FVariables);
|
||||
LazarusIDE.DoOpenEditorFile(FN,-1,[ofAddToProject]);
|
||||
|
Loading…
Reference in New Issue
Block a user