mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
use masterBuffer() rather than parent()
This also catches grandparents. Thanks, Riki.
This commit is contained in:
parent
2bb8bd3ec4
commit
5f7b553a1c
@ -2520,7 +2520,7 @@ void Buffer::addBibTeXInfo(docstring const & key, BibTeXInfo const & bin) const
|
||||
bi[key] = bin;
|
||||
|
||||
if (parent() != 0) {
|
||||
BiblioInfo & masterbi = parent()->d->bibinfo_;
|
||||
BiblioInfo & masterbi = masterBuffer()->d->bibinfo_;
|
||||
masterbi[key] = bin;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user