mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-13 20:09:59 +00:00
Fix bug #7531, also reported by Jim Oldfield. Need to use master
buffer's counters. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38597 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d1f15298f7
commit
47a95c1094
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user