mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
This should fix bug #7161. It backports r36651.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36790 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
98ca5e2997
commit
7285719a4b
@ -483,7 +483,7 @@ void InsetText::updateLabels(ParIterator const & it)
|
||||
else {
|
||||
DocumentClass const & tclass = buffer().masterBuffer()->params().documentClass();
|
||||
Counters const savecnt = tclass.counters();
|
||||
tclass.counters() = Counters();
|
||||
tclass.counters().reset();
|
||||
lyx::updateLabels(buffer(), it2);
|
||||
tclass.counters() = savecnt;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user