diff options
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index 9982f5d51556..96ab14b86984 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -792,6 +792,10 @@ void SfxTemplateManagerDlg::OnTemplateSearch () mpSearchEdit->Show(!bVisible); mpSearchEdit->SetText(rtl::OUString()); + + // display all templates if we hide the search bar + if (bVisible && mpCurView->isOverlayVisible()) + mpCurView->filterTemplatesByApp(FILTER_APP_NONE); } void SfxTemplateManagerDlg::OnTemplateEdit () |