mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix crash part of bug #7416. The export status was not being set for
child documents, hence we had no DocIterator for preview. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38204 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
947bda9b02
commit
a2abadb9f3
@ -3457,6 +3457,11 @@ namespace {
|
||||
void Buffer::setExportStatus(bool e) const
|
||||
{
|
||||
d->doing_export = e;
|
||||
ListOfBuffers clist = getDescendents();
|
||||
ListOfBuffers::const_iterator cit = clist.begin();
|
||||
ListOfBuffers::const_iterator const cen = clist.end();
|
||||
for (; cit != cen; ++cit)
|
||||
(*cit)->d->doing_export = e;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user