mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Minor code re-organization.
This commit is contained in:
parent
d8a31f1ee6
commit
400ee6824a
@ -4926,13 +4926,14 @@ void Buffer::Impl::setLabel(ParIterator & it, UpdateType utype) const
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (needEnumCounterReset(it)) {
|
||||||
// Increase the master counter?
|
// Increase the master counter?
|
||||||
if (layout.stepmastercounter && needEnumCounterReset(it))
|
if (layout.stepmastercounter)
|
||||||
counters.stepMaster(enumcounter, utype);
|
counters.stepMaster(enumcounter, utype);
|
||||||
|
|
||||||
// Maybe we have to reset the enumeration counter.
|
// Maybe we have to reset the enumeration counter.
|
||||||
if (!layout.resumecounter && needEnumCounterReset(it))
|
if (!layout.resumecounter)
|
||||||
counters.reset(enumcounter);
|
counters.reset(enumcounter);
|
||||||
|
}
|
||||||
counters.step(enumcounter, utype);
|
counters.step(enumcounter, utype);
|
||||||
|
|
||||||
string const & lang = par.getParLanguage(bp)->code();
|
string const & lang = par.getParLanguage(bp)->code();
|
||||||
|
Loading…
Reference in New Issue
Block a user