]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLabel.h
Minor corrections and elaborations
[lyx.git] / src / insets / InsetLabel.h
index 54bfa071414aaec730c2b8b633d71d7ebd06fc3d..8032ce764938bc5b21eab10022a410121f0db4c6 100644 (file)
@@ -29,6 +29,8 @@ public:
        docstring const & counterValue() const { return counter_value_; }
        ///
        docstring const & prettyCounter() const { return pretty_counter_; }
+       ///
+       int rowFlags() const override { return CanBreakBefore | CanBreakAfter; }
        /// Updates only the label string, doesn't handle undo nor references.
        void updateLabel(docstring const & new_label, bool const active = true);
        /// Updates the label and the references to it.
@@ -96,7 +98,7 @@ private:
        void uniqueLabel(docstring & label) const;
        ///
        void updateReferences(docstring const & old_label,
-               docstring const & new_label);
+               docstring const & new_label, bool const changes);
        ///
        docstring screen_label_;
        ///