fix upstream regression from aa79f2671d

This commit is contained in:
Basile Burg 2016-09-30 11:00:03 +02:00
parent 17628a8bd5
commit dc60c66268
No known key found for this signature in database
GPG Key ID: 1868039F415CB8CF
1 changed files with 5 additions and 0 deletions

View File

@ -126,6 +126,7 @@ type
fPrevProj: ICECommonProject;
fFreeProj: ICECommonProject;
fProjSubj: TCEProjectSubject;
fUpdating: boolean;
//
procedure projNew(project: ICECommonProject);
procedure projChanged(project: ICECommonProject);
@ -697,6 +698,9 @@ var
const
typeStr: array[TCEProjectFormat] of string = ('CE','DUB');
begin
if fUpdating then
exit;
fUpdating := true;
lstProj.BeginUpdate;
lstProj.Items.Clear;
for i := 0 to projectGroup.projectCount-1 do
@ -738,6 +742,7 @@ begin
else
StaticText1.Caption:= 'No free standing project';
updateButtons;
fUpdating := false;
end;
{$ENDREGION}