]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTOC.h
Make undo action no-ops when the buffer is read-only
[lyx.git] / src / insets / InsetTOC.h
index 045ae07e6d0f3c0729ab83c7384c2a453c3e0119..ca3f463c5ad610d8aa9c63ebde127296a034d561 100644 (file)
@@ -37,7 +37,7 @@ public:
        ///
        docstring layoutName() const override;
        ///
-       RowFlags rowFlags() const override { return Display; }
+       int rowFlags() const override { return Display; }
        ///
        void validate(LaTeXFeatures &) const override;
        ///