Replaced Documents tabbar (means two bugs are fixed now)

Removed Projects tabbar and added a new item to the statusbar
This commit is contained in:
Christian Hammacher
2006-04-10 18:05:08 +00:00
parent cd7f15f112
commit c9765e50c8
10 changed files with 4181 additions and 4133 deletions

View File

@ -122,22 +122,22 @@ begin
eCache.Free;
i := 0;
if PAWNProjects.Count > 1 then begin
PAWNProjects.Close(0);
if PawnProjects.Count > 1 then begin
PawnProjects.Close(0, True);
i := 1;
end;
if CPPProjects.Count > 1 then begin
CPPProjects.Close(0);
CPPProjects.Close(0, True);
i := 1;
end;
if OtherProjects.Count > 1 then begin
OtherProjects.Close(0);
OtherProjects.Close(0, True);
i := 1;
end;
if i = 1 then begin
ActivateProjects(0, False); // Started := True is already set here
PAWNProjects.Activate(PAWNProjects.Count -1, False, False);
PAWNProjects.Activate(PawnProjects.Count -1, False, False);
end;
UpdateCI(frmMain.sciEditor.GetCurrentLineNumber);