diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-08-11 16:35:20 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-08-11 16:35:20 +0200 |
commit | f5c6152b6a7e14c8ca366160558c0e4e4102460b (patch) | |
tree | 0352590dde03e4f2a88a8b35ab1414053dc7836e /docview | |
parent | a12affe6e6f7c14303dd8e4c8eec834fe73a5be2 (diff) | |
download | fpGUI-f5c6152b6a7e14c8ca366160558c0e4e4102460b.tar.xz |
richview: correct the localion where we call to update scrollbar coords.
Diffstat (limited to 'docview')
-rw-r--r-- | docview/components/richtext/RichTextView.pas | 2 |
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; |