]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNewline.h
Make undo action no-ops when the buffer is read-only
[lyx.git] / src / insets / InsetNewline.h
index 3d540a8618467bccda3074d48d092b87d18bebe0..c85a97df66ef6aea50add00f377a843f6ff32634 100644 (file)
@@ -47,7 +47,7 @@ public:
        explicit InsetNewline(InsetNewlineParams par) : Inset(0)
        { params_.kind = par.kind; }
        ///
-       RowFlags rowFlags() const override { return BreakAfter | RowAfter; }
+       int rowFlags() const override;
        ///
        static void string2params(std::string const &, InsetNewlineParams &);
        ///