Allow for the possibility of an "InsetLayout TOC".

This commit is contained in:
Richard Heck 2013-03-27 17:06:38 -04:00
parent 5286ce6dfe
commit 597fdbf22f

View File

@ -98,7 +98,7 @@ docstring InsetTOC::layoutName() const
{
if (getCmdName() == "lstlistoflistings")
return from_ascii("TOC:Listings");
return docstring();
return from_ascii("TOC");
}