Qt: fixed #11101, #11281 (dbgrid AV)

git-svn-id: trunk@16588 -
This commit is contained in:
zeljko 2008-09-14 13:04:18 +00:00
parent f93744efd7
commit 0152132972

View File

@ -4300,7 +4300,8 @@ var
if (ScrollInfo.nPos > ScrollBar.getMax) then
ScrollInfo.nPos := ScrollBar.getMax;
ScrollBar.setValue(ScrollInfo.nPos);
if (ScrollInfo.FMask and SIF_UPDATEPOLICY) = 0 then
ScrollBar.setValue(ScrollInfo.nPos);
end;
if (ScrollInfo.FMask and SIF_TRACKPOS) <> 0 then