diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-07-07 23:56:30 -0430 |
---|---|---|
committer | Rafael Dominguez <venccsralph@gmail.com> | 2012-07-08 08:54:28 -0430 |
commit | bdbd2c3057683694a75d9d8f88fc33e7a26c0769 (patch) | |
tree | 13d0b4b915c46e4c955a85c4b3cf7d57f00d3d87 /sfx2 | |
parent | 72cbe83e2f6dfba9291a404f8f77d5da68f0631f (diff) |
Hide search view when theres no text to search for.
Change-Id: Ic178bf641d313b45a750f4b56dc3de53000abd8a
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index bf98f42dbb43..9ac751204bcc 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -591,6 +591,11 @@ IMPL_LINK_NOARG(SfxTemplateManagerDlg, SearchUpdateHdl) mpSearchView->Invalidate(); } + else + { + mpSearchView->Hide(); + maView->Show(); + } return 0; } |