From 3e99283f2b435d145e048ba83835398e10b07b00 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Sat, 7 Aug 2010 10:40:25 +0000 Subject: [PATCH] Make sure that the current undo element is finished before marking stacks dirty git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35075 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Undo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Undo.cpp b/src/Undo.cpp index ac655cd71c..eec7ff4466 100644 --- a/src/Undo.cpp +++ b/src/Undo.cpp @@ -253,6 +253,7 @@ bool Undo::hasRedoStack() const void Undo::markDirty() { + d->undo_finished_ = true; d->undostack_.markDirty(); d->redostack_.markDirty(); }