summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2013-03-28 00:19:59 -0430
committerMiklos Vajna <vmiklos@suse.cz>2013-04-08 07:38:28 +0000
commitf8a2a17b8914c8753a2f2efe115b9eecfdf9d933 (patch)
tree40642a1dd90d1a0b1851c2c3228470000e9aa3b6 /sfx2
parentf1a49f94b97601646c403a4b6e627f5ed3755970 (diff)
Deselect templates when closing the search view.
Change-Id: If187b154a023a9364b6775270ce4c24377a98524 Reviewed-on: https://gerrit.libreoffice.org/3250 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
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 46270ff23e95..0fdb87fd2275 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -1046,6 +1046,7 @@ void SfxTemplateManagerDlg::OnTemplateSearch ()
// Hide search view
if (bVisible)
{
+ mpSearchView->deselectItems();
mpSearchView->Hide();
mpCurView->Show();
}