From: Richard Heck Date: Thu, 5 May 2011 20:41:59 +0000 (+0000) Subject: Backport fix for #7531 to branch. X-Git-Tag: 2.0.1~348 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6c24213294b769aae27d8a06ad2a072bd05ec8bc;p=features.git Backport fix for #7531 to branch. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38598 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index e58b722c15..686e427407 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -245,7 +245,8 @@ void InsetMathHull::updateBuffer(ParIterator const & it, UpdateType utype) if (haveNumbers()) { BufferParams const & bp = buffer_->params(); string const & lang = it->getParLanguage(bp)->code(); - Counters & cnts = bp.documentClass().counters(); + Counters & cnts = + buffer_->masterBuffer()->params().documentClass().counters(); // right now, we only need to do this at export time if (utype == OutputUpdate) { diff --git a/status.20x b/status.20x index b7819de3d5..29aceee724 100644 --- a/status.20x +++ b/status.20x @@ -31,6 +31,8 @@ What's new * USER INTERFACE +- Equation numbering in child documents now works properly (bug 7531). + - Updated Japanese User Interface Localization.