From f5c6152b6a7e14c8ca366160558c0e4e4102460b Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Thu, 11 Aug 2011 16:35:20 +0200 Subject: richview: correct the localion where we call to update scrollbar coords. --- docview/components/richtext/RichTextView.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docview/components/richtext') 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; -- cgit v1.2.3-70-g09d2