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
This commit is contained in:
Jean-Marc Lasgouttes 2010-08-07 10:40:25 +00:00
parent c2dfd50705
commit 3e99283f2b

View File

@ -253,6 +253,7 @@ bool Undo::hasRedoStack() const
void Undo::markDirty()
{
d->undo_finished_ = true;
d->undostack_.markDirty();
d->redostack_.markDirty();
}