LCL, fix selecting field when column is FirstGridColumn, from David Noriega, issue #17468

git-svn-id: trunk@27437 -
This commit is contained in:
jesus 2010-09-22 19:28:28 +00:00
parent 38b49f7569
commit fbbf076117

View File

@ -872,7 +872,7 @@ var
begin
if Avalue<>SelectedField then begin
i := GetGridColumnFromField( AValue );
if i>FirstGridColumn then
if i>=FirstGridColumn then
Col := i;
end;
end;