[Libreoffice-commits] core.git: sfx2/source

jorendc joren.libreoffice at telenet.be
Tue Feb 4 12:29:00 PST 2014


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

New commits:
commit 429c6579b58861a0bf2c2741e99e1700d51415e2
Author: jorendc <joren.libreoffice at telenet.be>
Date:   Tue Feb 4 14:31:39 2014 +0100

    Close Template Dialog when we saved a template
    
    Change-Id: I1529e7d628984d9720dd1169816911a957df7a11
    Reviewed-on: https://gerrit.libreoffice.org/7850
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index d61d6b5..5c88f99 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -1458,6 +1458,9 @@ void SfxTemplateManagerDlg::OnTemplateSaveAs()
             if (!aFolderList.isEmpty())
             {
             }
+
+            // After save file, just close the dialog
+            Close();
         }
     }
 }


More information about the Libreoffice-commits mailing list