]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIndex.h
Properly fix handling of title layouts within insets (#11787)
[lyx.git] / src / insets / InsetIndex.h
index 46fe84576939ca529c941a182c4c1a85938b1b21..01831d33bca5a8bb3b3c28e2fa4a281af07cb689 100644 (file)
@@ -68,7 +68,7 @@ private:
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
-       /// should paragraph indendation be omitted in any case?
+       /// should paragraph indentation be omitted in any case?
        bool neverIndent() const { return true; }
        ///
        void addToToc(DocIterator const & di, bool output_active,
@@ -119,7 +119,7 @@ public:
        ///
        bool hasSettings() const;
        ///
-       DisplayType display() const { return AlignCenter; }
+       RowFlags rowFlags() const { return Display; }
        //@}
 
        /// \name Static public methods obligated for InsetCommand derived classes