mirror of https://gitlab.com/basile.b/dexed.git
fix upstream regression from aa79f2671d
This commit is contained in:
parent
17628a8bd5
commit
dc60c66268
|
@ -126,6 +126,7 @@ type
|
||||||
fPrevProj: ICECommonProject;
|
fPrevProj: ICECommonProject;
|
||||||
fFreeProj: ICECommonProject;
|
fFreeProj: ICECommonProject;
|
||||||
fProjSubj: TCEProjectSubject;
|
fProjSubj: TCEProjectSubject;
|
||||||
|
fUpdating: boolean;
|
||||||
//
|
//
|
||||||
procedure projNew(project: ICECommonProject);
|
procedure projNew(project: ICECommonProject);
|
||||||
procedure projChanged(project: ICECommonProject);
|
procedure projChanged(project: ICECommonProject);
|
||||||
|
@ -697,6 +698,9 @@ var
|
||||||
const
|
const
|
||||||
typeStr: array[TCEProjectFormat] of string = ('CE','DUB');
|
typeStr: array[TCEProjectFormat] of string = ('CE','DUB');
|
||||||
begin
|
begin
|
||||||
|
if fUpdating then
|
||||||
|
exit;
|
||||||
|
fUpdating := true;
|
||||||
lstProj.BeginUpdate;
|
lstProj.BeginUpdate;
|
||||||
lstProj.Items.Clear;
|
lstProj.Items.Clear;
|
||||||
for i := 0 to projectGroup.projectCount-1 do
|
for i := 0 to projectGroup.projectCount-1 do
|
||||||
|
@ -738,6 +742,7 @@ begin
|
||||||
else
|
else
|
||||||
StaticText1.Caption:= 'No free standing project';
|
StaticText1.Caption:= 'No free standing project';
|
||||||
updateButtons;
|
updateButtons;
|
||||||
|
fUpdating := false;
|
||||||
end;
|
end;
|
||||||
{$ENDREGION}
|
{$ENDREGION}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue