]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLabel.h
Merge branch 'master' into features/indexmacros
[lyx.git] / src / insets / InsetLabel.h
index a5b9fefd824845bdc513644bc7804097b8f17b1b..dba25f01c942475a61752cf9c862e9229feaece7 100644 (file)
@@ -17,8 +17,6 @@
 
 namespace lyx {
 
-class Counter;
-
 class InsetLabel : public InsetCommand
 {
 public:
@@ -31,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.