X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetLabel.h;h=dba25f01c942475a61752cf9c862e9229feaece7;hb=3a949b32f08ce4884906a9c5d47c4d7031c794b2;hp=a5b9fefd824845bdc513644bc7804097b8f17b1b;hpb=efc0877f8fd33ad9369d06e5b638037c8d6a1b24;p=lyx.git diff --git a/src/insets/InsetLabel.h b/src/insets/InsetLabel.h index a5b9fefd82..dba25f01c9 100644 --- a/src/insets/InsetLabel.h +++ b/src/insets/InsetLabel.h @@ -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.