mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix up 04fc48d790
.
This commit is contained in:
parent
6cffef87d2
commit
7fb3773e60
@ -33,6 +33,8 @@ public:
|
||||
docstring const & formattedCounter() const { return formatted_counter_; }
|
||||
///
|
||||
void setPrettyCounter(docstring pc) { pretty_counter_ = pc; }
|
||||
///
|
||||
void setFormattedCounter(docstring fc) { formatted_counter_ = fc; }
|
||||
///
|
||||
int rowFlags() const override { return CanBreakBefore | CanBreakAfter; }
|
||||
/// Updates only the label string, doesn't handle undo nor references.
|
||||
|
@ -315,6 +315,7 @@ void InsetMathHull::addToToc(DocIterator const & pit, bool output_active,
|
||||
continue;
|
||||
if (label_[row]) {
|
||||
label_[row]->setPrettyCounter(_("Equation") + " " + numbers_[row]);
|
||||
label_[row]->setFormattedCounter(_("Equation") + " " + numbers_[row]);
|
||||
label_[row]->addToToc(pit, output_active, utype, backend);
|
||||
}
|
||||
docstring label = nicelabel(row);
|
||||
|
Loading…
Reference in New Issue
Block a user