[Libreoffice-commits] .: Branch 'libreoffice-4-0' - sfx2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jan 29 00:33:37 PST 2013


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

New commits:
commit ed263a9de1eb632aee36abffb716cccdfc8304d0
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
    
    Change-Id: Ib8f8dd66374a56a5c49155cde6420c865aa308f7
    Reviewed-on: https://gerrit.libreoffice.org/1902
    Reviewed-by: Miklos Vajna <vmiklos at suse.cz>
    Tested-by: Miklos Vajna <vmiklos at suse.cz>

diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 833e556..908fca9 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -226,6 +226,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