summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2012-07-07 23:56:30 -0430
committerRafael Dominguez <venccsralph@gmail.com>2012-07-08 08:54:28 -0430
commitbdbd2c3057683694a75d9d8f88fc33e7a26c0769 (patch)
tree13d0b4b915c46e4c955a85c4b3cf7d57f00d3d87 /sfx2
parent72cbe83e2f6dfba9291a404f8f77d5da68f0631f (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.cxx5
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;
}