]> git.lyx.org Git - features.git/blobdiff - src/insets/insetindex.C
fix insertion of raw double quote, reading of Info inset, initial width of collapsed...
[features.git] / src / insets / insetindex.C
index eccde8d07c1c9bf1f8e6549dfdfa0a6e7ab4dbc5..87b3cfaa19570aa5152d1e862fe2f20e6680dee8 100644 (file)
@@ -34,6 +34,12 @@ void InsetIndex::edit(BufferView * bv, bool)
 }
 
 
+Inset::Code InsetIndex::lyxCode() const
+{
+       return Inset::INDEX_CODE;
+}
+
+
 InsetPrintIndex::InsetPrintIndex(InsetCommandParams const & p, bool)
        : InsetCommand(p)
 {}
@@ -52,5 +58,5 @@ void InsetPrintIndex::validate(LaTeXFeatures & features) const
 
 Inset::Code InsetPrintIndex::lyxCode() const
 {
-       return Inset::INDEX_CODE;
+       return Inset::INDEX_PRINT_CODE;
 }