From 004fdf6aebd7669c4b1df33236fe2a8f515584c0 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 21 Nov 2016 16:54:45 +0100 Subject: [PATCH] Clear temp cutstack before exiting LyX. Otherwise it is done in the exit handler, which leads to crashes. --- src/CutAndPaste.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp index 3cceb2bba5..7e09ac9ff9 100644 --- a/src/CutAndPaste.cpp +++ b/src/CutAndPaste.cpp @@ -1072,6 +1072,7 @@ void clearSelection() void clearCutStack() { theCuts.clear(); + tempCut.clear(); } -- 2.39.2