diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-07-28 19:16:01 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-07-28 19:16:01 +0200 |
commit | f3c08397a73d26c46d349650f59c274e4c895bd4 (patch) | |
tree | 571cdca11be7af8b80a365b5a1b63ad50e5c377a /docview | |
parent | 916a1e9e2e1e110b21f51488c5c8de61f5df2938 (diff) | |
download | fpGUI-f3c08397a73d26c46d349650f59c274e4c895bd4.tar.xz |
docview: call DoSearch directly when search is done via -k or -n parameter.
Diffstat (limited to 'docview')
-rw-r--r-- | docview/src/frm_main.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docview/src/frm_main.pas b/docview/src/frm_main.pas index 20e92411..357b5f6d 100644 --- a/docview/src/frm_main.pas +++ b/docview/src/frm_main.pas @@ -3366,7 +3366,7 @@ begin { Search for a string } edSearchText.Text := gCommandLineParams.GetParam('k'); PageControl1.ActivePage := tsSearch; - btnSearch.Click; + DoSearch; end else if gCommandLineParams.IsParam('n') then begin |