diff options
Diffstat (limited to 'sfx2/source/doc/templatedlg.cxx')
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index fe9c922fcbcc..ee43d48c77b2 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -1601,10 +1601,12 @@ IMPL_LINK_NOARG_TYPED(SfxTemplateCategoryDialog, SelectCategoryHdl, ListBox&, vo { msSelectedCategory = OUString(); mpOKButton->Disable(); + mpNewCategoryEdit->Enable(); } else { msSelectedCategory = mpLBCategory->GetSelectEntry(); + mpNewCategoryEdit->Disable(); mpOKButton->Enable(); } @@ -1613,7 +1615,6 @@ IMPL_LINK_NOARG_TYPED(SfxTemplateCategoryDialog, SelectCategoryHdl, ListBox&, vo void SfxTemplateCategoryDialog::SetCategoryLBEntries(std::vector<OUString> aFolderNames) { - mpLBCategory->InsertEntry(OUString("None"), 0); if (!aFolderNames.empty()) { for (size_t i = 0, n = aFolderNames.size(); i < n; ++i) |