Clear temp cutstack before exiting LyX.

Otherwise it is done in the exit handler, which leads to crashes.
This commit is contained in:
Jean-Marc Lasgouttes 2016-11-21 16:54:45 +01:00
parent 34b6b474ea
commit 004fdf6aeb

View File

@ -1072,6 +1072,7 @@ void clearSelection()
void clearCutStack()
{
theCuts.clear();
tempCut.clear();
}