This basically solves bug #6162 in trunk (this cannot be done in branch until we take measures to prevent dataloss when closing a master and dirty children).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31149
a592a061-630c-0410-9148-
cb99ea01b6c8
return;
}
- /*// loop over children
+ // loop over children
Impl::BufferPositionMap::iterator it = d->children_positions.begin();
Impl::BufferPositionMap::iterator end = d->children_positions.end();
for (; it != end; ++it) {
// The child buffer might have been closed already.
if (theBufferList().isLoaded(child))
theBufferList().releaseChild(this, child);
- }*/
+ }
if (!isClean()) {
docstring msg = _("Buffer had unsaved changes when destroyed!\n");