]> git.lyx.org Git - features.git/commit
Try to fix bug #6505.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Sun, 26 Apr 2020 02:17:51 +0000 (22:17 -0400)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:57 +0000 (15:48 +0200)
commit66d7e7cb60756e316fdb993db5e928a81ab984a2
tree8cd3cbc93679642018bbc724a67aa9d0e222e06e
parent470f0e35a33315721b5e98059f0b5f73157f7ca5
Try to fix bug #6505.

Keep track of nested includes and just refuse to re-enter a file
we're already in the process of handling.

There's a question whether we should do this in updateBuffer and
validate, or whether we should do it separately. For now, this seems
to work.
src/Buffer.cpp
src/insets/InsetInclude.cpp
src/insets/InsetInclude.h