]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFlex.cpp
Add Nomenclature to the TOC.
[lyx.git] / src / insets / InsetFlex.cpp
index 44651cc026816ac99ac1807d68e88c9fdd76d810..5609934b6d16cb144b3dfc18b5a29190f5787ba9 100644 (file)
@@ -33,9 +33,7 @@ namespace lyx {
 
 InsetFlex::InsetFlex(Buffer * buf, string const & layoutName)
        : InsetCollapsable(buf), name_(layoutName)
-{
-       status_= Collapsed;
-}
+{}
 
 
 InsetFlex::InsetFlex(InsetFlex const & in)
@@ -43,6 +41,7 @@ InsetFlex::InsetFlex(InsetFlex const & in)
 {}
 
 
+// special code for InsetFlex when there is not the explicit Flex:: prefix
 InsetLayout const & InsetFlex::getLayout() const
 {
        if (!buffer_)