summaryrefslogtreecommitdiff
path: root/docview/components/richtext
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-08-11 16:35:20 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-08-11 16:35:20 +0200
commitf5c6152b6a7e14c8ca366160558c0e4e4102460b (patch)
tree0352590dde03e4f2a88a8b35ab1414053dc7836e /docview/components/richtext
parenta12affe6e6f7c14303dd8e4c8eec834fe73a5be2 (diff)
downloadfpGUI-f5c6152b6a7e14c8ca366160558c0e4e4102460b.tar.xz
richview: correct the localion where we call to update scrollbar coords.
Diffstat (limited to 'docview/components/richtext')
-rw-r--r--docview/components/richtext/RichTextView.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/docview/components/richtext/RichTextView.pas b/docview/components/richtext/RichTextView.pas
index 7440b884..2a18b6c2 100644
--- a/docview/components/richtext/RichTextView.pas
+++ b/docview/components/richtext/RichTextView.pas
@@ -977,7 +977,6 @@ begin
exit;
RemoveCursor;
- UpdateScrollbarCoords;
if FVerticalPositionInitialised then
begin
@@ -998,6 +997,7 @@ begin
FLastYScroll := FYScroll;
FVerticalPositionInitialised := true;
+ UpdateScrollbarCoords;
SetupCursor;
end;