};
// Keep the changes documented in the Customization manual.
-int const FORMAT = 21;
+int const FORMAT = 23;
bool layout2layout(FileName const & filename, FileName const & tempfile)
InsetLayout & il = insetlayoutlist_[name];
error = !il.read(lexrc, *this);
} else {
- InsetLayout il(name);
+ InsetLayout il;
+ il.setName(name);
error = !il.read(lexrc, *this);
if (!error)
insetlayoutlist_[name] = il;