]> git.lyx.org Git - lyx.git/commitdiff
Add missing undo recording.
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 3 Jun 2012 08:31:38 +0000 (10:31 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 3 Jun 2012 08:31:38 +0000 (10:31 +0200)
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

index 573ad66ce5dc332993aa4c36627a0bf68467012a..935cbec0c3fc9a32b5466c777e2600cffd933466 100644 (file)
@@ -496,6 +496,7 @@ void InsetPrintIndex::doDispatch(Cursor & cur, FuncRequest & cmd)
                        cur.noScreenUpdate();
                        break;
                }
+               cur.recordUndo();
                setParams(p);
                break;
        }