Kaydet (Commit) dc24a1d8 authored tarafından Akshay Deep's avatar Akshay Deep Kaydeden (comit) Samuel Mehrbrodt

Creating a new category on move should update the category list

Change-Id: I54ba75056d8fa47ff2153914182ad354da7c07f6
Reviewed-on: https://gerrit.libreoffice.org/25398Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst 5b42c982
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment