diff options
Diffstat (limited to 'docview/components')
-rw-r--r-- | docview/components/richtext/RichTextView.pas | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docview/components/richtext/RichTextView.pas b/docview/components/richtext/RichTextView.pas index ed774366..ee8f59ec 100644 --- a/docview/components/richtext/RichTextView.pas +++ b/docview/components/richtext/RichTextView.pas @@ -812,6 +812,8 @@ var Position: TTextPosition; begin inherited HandleMouseMove(x, y, btnstate, shiftstate); + if FText = '' then + exit; Position := FindPoint(X, Y, Line, Offset, Link); if Link <> FLastLinkOver then |