|
@@ -443,6 +443,12 @@ begin
|
|
|
FIsLoading := False;
|
|
FIsLoading := False;
|
|
|
RefreshInfoView;
|
|
RefreshInfoView;
|
|
|
InitExpandTo;
|
|
InitExpandTo;
|
|
|
|
|
+ if (FManageProjects.ManagerTree.Selected = nil) and (FManageProjects.ManagerTree.Count > 0) then
|
|
|
|
|
+ begin
|
|
|
|
|
+ FManageProjects.ManagerTree.SelectedIndex := 0;
|
|
|
|
|
+ if FManageProjects.ManagerTree.Selected <> nil then
|
|
|
|
|
+ FManageProjects.ManagerTree.Selected.LocateInControl;
|
|
|
|
|
+ end;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
procedure TScfrmBigProjManage.InitViews;
|
|
procedure TScfrmBigProjManage.InitViews;
|