diff options
Diffstat (limited to 'docview')
-rw-r--r-- | docview/components/richtext/RichTextView.pas | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docview/components/richtext/RichTextView.pas b/docview/components/richtext/RichTextView.pas index ee8f59ec..9d5f4b76 100644 --- a/docview/components/richtext/RichTextView.pas +++ b/docview/components/richtext/RichTextView.pas @@ -774,6 +774,9 @@ var Shift: boolean; begin inherited HandleLMouseDown(x, y, shiftstate); + if FText = '' then + Exit; //==> no need to do anything further + Offset := 0; Position := FindPoint( X, Y, Line, Offset, Link ); FClickedLink := Link; |