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