X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetlist.C;h=a0af06f20226dba2586e2505025e95cfa404054b;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=27ad75489cc4500b753187416df0bd08e12c172c;hpb=487f6eb3b43746460d090f643cd1e39f2d93a74b;p=lyx.git diff --git a/src/insets/insetlist.C b/src/insets/insetlist.C index 27ad75489c..a0af06f202 100644 --- a/src/insets/insetlist.C +++ b/src/insets/insetlist.C @@ -45,7 +45,9 @@ InsetList::InsetList() font.decSize(); font.setColor(LColor::collapsable); setLabelFont(font); +#if 0 setAutoCollapse(false); +#endif setInsetName("List"); } @@ -57,18 +59,6 @@ void InsetList::write(Buffer const * buf, ostream & os) const } -Inset * InsetList::clone(Buffer const &, bool same_id) const -{ - InsetList * result = new InsetList; - result->inset.init(&inset, same_id); - - result->collapsed_ = collapsed_; - if (same_id) - result->id_ = id_; - return result; -} - - string const InsetList::editMessage() const { return _("Opened List Inset");