]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
Fix #10328.
[lyx.git] / src / Buffer.cpp
index c8c18f2beef7c05f9c16cf462e3a6b3440b4cfa6..dff7faec2f474d3e65a6a3c6eb1d82ab4d9b9216 100644 (file)
@@ -5242,11 +5242,6 @@ void Buffer::updateBuffer(ParIterator & parit, UpdateType utype, bool const dele
        // to resolve macros in it.
        parit.text()->setMacrocontextPosition(parit);
 
-       // Reset bibitem counter in master (#8499)
-       Buffer const * const master = masterBuffer();
-       if (master == this && !d->ignore_parent)
-               master->params().documentClass().counters().reset(from_ascii("bibitem"));
-
        depth_type maxdepth = 0;
        pit_type const lastpit = parit.lastpit();
        bool changed = false;