diff --git a/src/insets/InsetInfo.h b/src/insets/InsetInfo.h index bac475866f..e48418d50d 100644 --- a/src/insets/InsetInfo.h +++ b/src/insets/InsetInfo.h @@ -75,9 +75,7 @@ the command buffer (view->Toolbar->Command Buffer). namespace lyx { -/** Used to insert index labels - */ -class InsetInfo : public InsetCollapsable { +class InsetInfo : public InsetText { public: enum info_type { UNKNOWN_INFO, // Invalid type @@ -138,7 +136,7 @@ private: /// void setText(docstring const & str); // make sure that the other version of setText is still available. - using InsetCollapsable::setText; + using InsetText::setText; /// info_type type_; /// @@ -146,7 +144,6 @@ private: }; - } // namespace lyx #endif