summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2013-03-28 14:49:49 -0430
committerRafael Dominguez <venccsralph@gmail.com>2013-03-28 20:47:56 -0430
commit2c8ea7d9dff35e64701883b089e30715ed7b56b5 (patch)
treea3baec6e3a6df47ad9defacbcb86af4de5b5c48b /sfx2
parentb910d1d9b742b324b1ce84a6fa7aa59dcc6e78ca (diff)
Deselect items when searching for templates to reset toolbars.
Change-Id: Ifacbc257abcc84284deb1723d30e74d45adca192
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/templatedlg.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 0273f5566d3f..6746e312e8c2 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -682,6 +682,7 @@ IMPL_LINK_NOARG(SfxTemplateManagerDlg, SearchUpdateHdl)
// if the search view is hidden, hide the folder view and display search one
if (!mpSearchView->IsVisible())
{
+ mpCurView->deselectItems();
mpSearchView->Show();
mpCurView->Hide();
}