[Libreoffice-commits] .: sfx2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 28 09:46:28 PST 2013


 sfx2/source/doc/templatedlg.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 2064d3df551b651479c0602e197674d4efede15f
Author: Cédric Bosdonnat <cedric.bosdonnat at free.fr>
Date:   Mon Jan 28 17:51:54 2013 +0100

    Template Manager: don't show any tab and show all folders when saving template

diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 824cfc1..b756111 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -227,6 +227,8 @@ SfxTemplateManagerDlg::~SfxTemplateManagerDlg ()
 void SfxTemplateManagerDlg::setSaveMode(bool bMode)
 {
     mbIsSaveMode = bMode;
+    maTabControl.Clear();
+    mpCurView->filterTemplatesByApp(FILTER_APP_NONE);
 
     if (bMode)
     {


More information about the Libreoffice-commits mailing list