]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetArgument.h
Make undo action no-ops when the buffer is read-only
[lyx.git] / src / insets / InsetArgument.h
index 7488e4586c473a1d4437b819fcf2d15bd2af63b3..34f4309cb0c5fefa842fe4033442a25d4a7817f1 100644 (file)
@@ -51,6 +51,9 @@ public:
        InsetCode lyxCode() const override { return ARG_CODE; }
        ///
        docstring layoutName() const override { return from_ascii("Argument"); }
+
+       /// Initialize the members of this inset when inserted in \c par.
+       void init(Paragraph const & par);
        /// Update the label string of this inset
        void updateBuffer(ParIterator const &, UpdateType, bool const deleted = false) override;
        ///