]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCommand.h
Properly fix handling of title layouts within insets (#11787)
[lyx.git] / src / insets / InsetCommand.h
index d450a663471c14cf7481b5a178f3d1d30112831d..58d2345841b7c25b194957da4edaa084eff6547f 100644 (file)
@@ -62,6 +62,10 @@ public:
        void setParam(std::string const & name, docstring const & value);
        /// FIXME Remove
        docstring const getFirstNonOptParam() const { return p_.getFirstNonOptParam(); }
+       ///
+       void setBroken(bool const b) const { broken_ = b; }
+       ///
+       bool isBroken() const { return broken_; }
 
        /// \name Public functions inherited from Inset class
        //@{
@@ -147,6 +151,8 @@ private:
        mutable std::map<BufferView const *, bool> mouse_hover_;
        ///
        mutable RenderButton button_;
+       ///
+       mutable bool broken_;
 };
 
 /// Decode InsetCommand considering Inset name and data.