]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetindex.C
Don't remove cell selections after fontchange.
[lyx.git] / src / insets / insetindex.C
index 825129f02c533dc949ef4dabb44fd0e1e7cf4a53..486aeb23111eb845002f76c2d95d5f78f60f3c40 100644 (file)
@@ -27,7 +27,7 @@ string const InsetIndex::getScreenLabel(Buffer const *) const
 
 void InsetIndex::edit(BufferView * bv, int, int, unsigned int)
 {
-       bv->owner()->getDialogs()->showIndex( this );
+       bv->owner()->getDialogs()->showIndex(this);
 }
 
 
@@ -62,7 +62,7 @@ string const InsetPrintIndex::getScreenLabel(Buffer const *) const
 
 void InsetPrintIndex::validate(LaTeXFeatures & features) const
 {
-       features.makeidx = true;
+       features.require("makeidx");
 }