diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index 3bec66bb6a87..e9279fcb0a9a 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -612,7 +612,11 @@ IMPL_LINK_NOARG_TYPED(SfxTemplateManagerDlg, MoveClickHdl, Button*, void) if(bIsNewCategory) { if (!sCategory.isEmpty()) + { nItemId = mpLocalView->createRegion(sCategory); + if(nItemId) + mpCBFolder->InsertEntry(sCategory); + } } else { |