Kaydet (Commit) 9b991a17 authored tarafından Rafael Dominguez's avatar Rafael Dominguez

Remove thumbnail from local view if we erase it throught the search view.

Change-Id: I42e5fe1f806712b2b912f945c164b0e239ecaa54
üst d2b272c1
......@@ -352,7 +352,11 @@ bool TemplateLocalView::removeTemplate (const sal_uInt16 nItemId, const sal_uInt
pIter = pItem->maTemplates.erase(pIter);
RemoveItem(nItemId);
if (maRegions[i]->mnRegionId == mnCurRegionId-1)
{
RemoveItem(nItemId);
Invalidate();
}
// Update Doc Idx for all templates that follow
for (; pIter != pItem->maTemplates.end(); ++pIter)
......
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