mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 10:35:58 +02:00
Qt: TQtWidgetSet.SetScrollInfo - fixed wrong result, it must return real slider position, not value which might be out of sync with position. This fixes problems with TScrollingWinControl (TControlScrollbar).
git-svn-id: trunk@38826 -
This commit is contained in:
parent
42d469990a
commit
1b807141b9
@ -6079,7 +6079,8 @@ var
|
||||
// ScrollBar.setSliderPosition(ScrollInfo.nTrackPos);
|
||||
end;
|
||||
|
||||
Result := ScrollBar.getValue;
|
||||
Result := ScrollBar.getSliderPosition;
|
||||
|
||||
end;
|
||||
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user