X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBuffer.cpp;h=014dcd6929cb8df769eee32b63d8aedb727635a4;hb=4db3e641ed6765e005343010cb90ee8af26f8f99;hp=3cb28da1267bf4b7394e3bffeebc9f07068f9d71;hpb=7bdc34a98700f487a923ea2b3546f476b9d5d98c;p=lyx.git diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 3cb28da126..014dcd6929 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -4313,8 +4313,10 @@ void Buffer::updateBuffer(UpdateScope scope, UpdateType utype) const DocumentClass const & textclass = master->params().documentClass(); // do this only if we are the top-level Buffer - if (master == this) + if (master == this) { + textclass.counters().reset(from_ascii("bibitem")); reloadBibInfoCache(); + } // keep the buffers to be children in this set. If the call from the // master comes back we can see which of them were actually seen (i.e.