You've already forked lazarus-ccr
* Show .xib resource files in iphone project options.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2623 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -289,10 +289,19 @@ var
|
||||
path : AnsiString;
|
||||
st : TStringList;
|
||||
i : Integer;
|
||||
AProjectFile: TLazProjectFile;
|
||||
|
||||
begin
|
||||
path := ResolveProjectPath(edtResDir.Text);
|
||||
path := ResolveProjectPath(trim(edtResDir.Text));
|
||||
st:=TStringList.Create;
|
||||
try
|
||||
for i := 0 to LazarusIDE.ActiveProject.FileCount-1 do
|
||||
begin
|
||||
AProjectFile := LazarusIDE.ActiveProject.Files[i];
|
||||
if (AProjectFile.IsPartOfProject) and FileExistsUTF8(ChangeFileExt(AProjectFile.filename,'.xib')) then
|
||||
st.add(AProjectFile.filename);
|
||||
end;
|
||||
|
||||
EnumFilesAtDir(path, '*.xib', st);
|
||||
nibFilesBox.Clear;
|
||||
for i:=0 to st.Count-1 do
|
||||
|
Reference in New Issue
Block a user