mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug #7194 (Crash closing master while child documents are opened)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37021 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
29d849f251
commit
c203112890
@ -2687,7 +2687,8 @@ MacroData const * Buffer::Impl::getBufferMacro(docstring const & name,
|
||||
break;
|
||||
|
||||
// scope ends behind pos?
|
||||
if (pos < it->second.first) {
|
||||
if (pos < it->second.first
|
||||
&& theBufferList().isLoaded(it->second.second)) {
|
||||
// look for macro in external file
|
||||
macro_lock = true;
|
||||
MacroData const * data
|
||||
|
Loading…
Reference in New Issue
Block a user