mirror of https://gitlab.com/basile.b/dexed.git
updstream fix for 19eed6ea36
This commit is contained in:
parent
f779e16712
commit
521474ca5b
|
@ -697,7 +697,7 @@ begin
|
||||||
if projectGroup.projectCount > 0 then
|
if projectGroup.projectCount > 0 then
|
||||||
begin
|
begin
|
||||||
i := projectGroup.getProjectIndex;
|
i := projectGroup.getProjectIndex;
|
||||||
if i > projectGroup.projectCount then
|
if i > projectGroup.projectCount - 1 then
|
||||||
i := projectGroup.projectCount-1;
|
i := projectGroup.projectCount-1;
|
||||||
lstProj.ItemIndex:= i;
|
lstProj.ItemIndex:= i;
|
||||||
end;
|
end;
|
||||||
|
|
Loading…
Reference in New Issue