]> git.lyx.org Git - features.git/blobdiff - src/TextClass.cpp
Inset configurability: separate charstyle and custom insets
[features.git] / src / TextClass.cpp
index 707819d7e28f66fcf44ee809465743b10f845b47..4cd7599116e0fed62fb23f703a3e460fc8a06a8d 100644 (file)
@@ -698,7 +698,7 @@ void TextClass::readInsetLayout(Lexer & lexrc, docstring const & name)
                insetlayoutlist_[name] = il;
 
                // test name for CS:
-               if (il.lyxtype == "charstyle") {
+               if (il.lyxtype == "charstyle" || il.lyxtype == "custom") {
                        charstyles().push_back(il);
                }
        }