diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-09-30 16:08:15 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-09-30 16:08:15 +0200 |
commit | 54361536c52009ffe82b94b1851005a0b76556f8 (patch) | |
tree | 205c9f2d696b5d982d446b0eadf67a281f888a7c /docview/src | |
parent | 48ee5168d1fa84f45463e81abe944e97359746da (diff) | |
download | fpGUI-54361536c52009ffe82b94b1851005a0b76556f8.tar.xz |
docview: removing search highlighting by doing a blank search
Diffstat (limited to 'docview/src')
-rw-r--r-- | docview/src/frm_main.pas | 3 |
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); |