Author: rgheck
Date: Thu May 5 22:41:59 2011
New Revision: 38598
URL: http://www.lyx.org/trac/changeset/38598
Log:
Backport fix for #7531 to branch.
Modified:
lyx-devel/branches/BRANCH_2_0_X/src/mathed/InsetMathHull.cpp
lyx-devel/branches/BRANCH_2_0_X/status.20x
Modified: lyx-devel/branches/BRANCH_2_0_X/src/mathed/InsetMathHull.cpp
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/src/mathed/InsetMathHull.cpp Thu May
5 22:31:47 2011 (r38597)
+++ lyx-devel/branches/BRANCH_2_0_X/src/mathed/InsetMathHull.cpp Thu May
5 22:41:59 2011 (r38598)
@@ -245,7 +245,8 @@
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) {
Modified: lyx-devel/branches/BRANCH_2_0_X/status.20x
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/status.20x Thu May 5 22:31:47 2011
(r38597)
+++ lyx-devel/branches/BRANCH_2_0_X/status.20x Thu May 5 22:41:59 2011
(r38598)
@@ -31,6 +31,8 @@
* USER INTERFACE
+- Equation numbering in child documents now works properly (bug 7531).
+
- Updated Japanese User Interface Localization.