diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2013-03-30 13:28:44 -0430 |
---|---|---|
committer | Rafael Dominguez <venccsralph@gmail.com> | 2013-04-05 21:23:09 -0430 |
commit | 4e4119b2d338b607adff338be01d33d62f3e45f4 (patch) | |
tree | bb9ff44d0a59b62a26180ff20259f23bb54445c8 /sfx2 | |
parent | 3e8016ddc576dafaa93505d5673c8013f3ed2d09 (diff) |
Dont show import action while in save mode.
Change-Id: If6cca322203bf019a732ce6b0b5a9a20bd932557
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index 7ff9159a52af..b53aee3831de 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -721,7 +721,9 @@ IMPL_LINK_NOARG(SfxTemplateManagerDlg, OpenRegionHdl) maSelTemplates.clear(); mpViewBar->ShowItem(TBI_TEMPLATE_FOLDER_NEW,mpCurView->isNestedRegionAllowed()); - mpViewBar->ShowItem(TBI_TEMPLATE_IMPORT,mpCurView->isImportAllowed()); + + if (!mbIsSaveMode) + mpViewBar->ShowItem(TBI_TEMPLATE_IMPORT,mpCurView->isImportAllowed()); mpTemplateBar->Hide(); mpViewBar->Show(); |