mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-03 00:38:15 +02:00
IDE: resourcestrings in add new file to package, bug #14244, from Marcelo B Paula
git-svn-id: trunk@21042 -
This commit is contained in:
parent
9951b2d70c
commit
7ebe508fc7
@ -1539,11 +1539,12 @@ begin
|
||||
NewFileTreeView.BeginUpdate;
|
||||
NewFileTreeView.Items.Clear;
|
||||
Category:=NewIDEItems.FindByName(FileDescGroupName);
|
||||
NewParentNode:=NewFileTreeView.Items.AddObject(nil,Category.Name,Category);
|
||||
NewParentNode:=NewFileTreeView.Items.AddObject(nil,Category.LocalizedName,
|
||||
Category);
|
||||
for TemplateID:=0 to Category.Count-1 do begin
|
||||
Template:=Category[TemplateID];
|
||||
if Template.VisibleInNewDialog and (Template is TNewItemProjectFile) then
|
||||
NewFileTreeView.Items.AddChildObject(NewParentNode,Template.Name,
|
||||
NewFileTreeView.Items.AddChildObject(NewParentNode,Template.LocalizedName,
|
||||
Template);
|
||||
end;
|
||||
NewParentNode.Expand(true);
|
||||
|
Loading…
Reference in New Issue
Block a user