Change in core[libreoffice-4-0]: Template Manager: don't show any tab and show all folders wh...

Bosdonnat Cedric (via Code Review) gerrit at gerrit.libreoffice.org
Mon Jan 28 08:58:29 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1902

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/02/1902/1

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

Change-Id: Ib8f8dd66374a56a5c49155cde6420c865aa308f7
---
M sfx2/source/doc/templatedlg.cxx
1 file changed, 2 insertions(+), 0 deletions(-)



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 @@
 void SfxTemplateManagerDlg::setSaveMode(bool bMode)
 {
     mbIsSaveMode = bMode;
+    maTabControl.Clear();
+    mpCurView->filterTemplatesByApp(FILTER_APP_NONE);
 
     if (bMode)
     {

-- 
To view, visit https://gerrit.libreoffice.org/1902
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib8f8dd66374a56a5c49155cde6420c865aa308f7
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Bosdonnat Cedric <cedric.bosdonnat at free.fr>


More information about the LibreOffice mailing list