From af59dffeda2efe23e9c1424646eb6fa0e2c7e702 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sun, 3 Jun 2012 10:31:38 +0200 Subject: [PATCH] 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) --- src/insets/InsetIndex.cpp | 1 + 1 file changed, 1 insertion(+) 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; }