From: Juergen Spitzmueller Date: Sun, 3 Jun 2012 08:31:38 +0000 (+0200) Subject: Add missing undo recording. X-Git-Tag: 2.1.0beta1~1808 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=af59dffeda2efe23e9c1424646eb6fa0e2c7e702;p=lyx.git Add missing undo recording. This adds a change of the printindex type (with multiple indices) to the undo stack and marks the buffer dirty on that action (bug #8182) --- diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp index 573ad66ce5..935cbec0c3 100644 --- a/src/insets/InsetIndex.cpp +++ b/src/insets/InsetIndex.cpp @@ -496,6 +496,7 @@ void InsetPrintIndex::doDispatch(Cursor & cur, FuncRequest & cmd) cur.noScreenUpdate(); break; } + cur.recordUndo(); setParams(p); break; }