updstream fix for 19eed6ea36

This commit is contained in:
Basile Burg 2016-09-09 14:58:13 +02:00
parent f779e16712
commit 521474ca5b
No known key found for this signature in database
GPG Key ID: 1868039F415CB8CF
1 changed files with 1 additions and 1 deletions

View File

@ -697,7 +697,7 @@ begin
if projectGroup.projectCount > 0 then
begin
i := projectGroup.getProjectIndex;
if i > projectGroup.projectCount then
if i > projectGroup.projectCount - 1 then
i := projectGroup.projectCount-1;
lstProj.ItemIndex:= i;
end;