summaryrefslogtreecommitdiff
path: root/docview/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-09-30 16:08:15 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-09-30 16:08:15 +0200
commit54361536c52009ffe82b94b1851005a0b76556f8 (patch)
tree205c9f2d696b5d982d446b0eadf67a281f888a7c /docview/src
parent48ee5168d1fa84f45463e81abe944e97359746da (diff)
downloadfpGUI-54361536c52009ffe82b94b1851005a0b76556f8.tar.xz
docview: removing search highlighting by doing a blank search
Diffstat (limited to 'docview/src')
-rw-r--r--docview/src/frm_main.pas3
1 files changed, 3 insertions, 0 deletions
diff --git a/docview/src/frm_main.pas b/docview/src/frm_main.pas
index 4cc0abfa..bec9c2d4 100644
--- a/docview/src/frm_main.pas
+++ b/docview/src/frm_main.pas
@@ -1011,7 +1011,10 @@ begin
lbSearchResults.Items.Clear;
if SearchText = '' then
+ begin
+ ClearAllWordSequences;
exit;
+ end;
lbSearchResults.Items.Add(rsDVSearchingMsg);
SetStatus(rsDVSearchingMsg);