|
@@ -228,7 +228,10 @@ begin
|
|
|
FProjs := AProjs;
|
|
|
FilterProjs;
|
|
|
FSpecialProjTypes := ASpecialProjTypes;
|
|
|
- FTree := TProjGatherTree.Create(FCommonProjs.Count, ASpecialProjTypes.Count);
|
|
|
+ if Assigned(ASpecialProjTypes) then
|
|
|
+ FTree := TProjGatherTree.Create(FCommonProjs.Count, ASpecialProjTypes.Count)
|
|
|
+ else
|
|
|
+ FTree := TProjGatherTree.Create(FCommonProjs.Count, 0);
|
|
|
FTree.NewNodeID := 101;
|
|
|
try
|
|
|
for i := 0 to FCommonProjs.Count - 1 do
|