]> 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 6e5bcff1800d68980daf2b9a93198d02fd891501..486aeb23111eb845002f76c2d95d5f78f60f3c40 100644 (file)
@@ -10,6 +10,7 @@
 #include "frontends/Dialogs.h"
 #include "LaTeXFeatures.h"
 #include "gettext.h"
+#include "support/LOstream.h"
 
 using std::ostream;
 
@@ -26,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);
 }
 
 
@@ -61,7 +62,7 @@ string const InsetPrintIndex::getScreenLabel(Buffer const *) const
 
 void InsetPrintIndex::validate(LaTeXFeatures & features) const
 {
-       features.makeidx = true;
+       features.require("makeidx");
 }