]> 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)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Sun, 26 Apr 2020 02:22:58 +0000 (22:22 -0400)
commite4da31452273caeed7eabe7132f53201f44d5398
treed62ff75ebda101f0455c4d82fc5c12dca0ab6487
parent93191447032d21b41cfe4a4e584c3f0c42a8a92e
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