]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfootlike.C
add parOwner to Inset, optimize LyXText::workWidth, fix memory corruption with lots...
[lyx.git] / src / insets / insetfootlike.C
index e58ae00e72f8661edf52e04988e3171e4e48af43..edfd20dafbfde25e8841302eeef8e640de810b2e 100644 (file)
@@ -29,7 +29,17 @@ InsetFootlike::InsetFootlike()
        font.decSize();
        font.setColor(LColor::collapsable);
        setLabelFont(font);
-       setAutoCollapse(false);
+}
+
+
+InsetFootlike::InsetFootlike(InsetFootlike const & in, bool same_id)
+       : InsetCollapsable(in, same_id)
+{
+       LyXFont font(LyXFont::ALL_SANE);
+       font.decSize();
+       font.decSize();
+       font.setColor(LColor::collapsable);
+       setLabelFont(font);
 }