]> git.lyx.org Git - features.git/commit
Fix crash reported by Kornel.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Mon, 27 May 2019 04:06:10 +0000 (00:06 -0400)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:30 +0000 (15:48 +0200)
commitd7f7ddfc1802cf11d6c889ef3ee0712fb7af8da4
tree074e28cd7651c57f52206e2ea4bd392d0e47261a
parent8215c20a22241aa2889a76ce7a23f6964ebdd3fa
Fix crash reported by Kornel.

See https://marc.info/?l=lyx-devel&m=155879185229073&w=2.

The problem is that, after saving the document and reloading, the
TOC is corrupted, more or less, when we run through updateBuffer.
So we reset it first.
src/Buffer.cpp
src/TocBackend.cpp
src/TocBackend.h