]> git.lyx.org Git - features.git/commitdiff
Add missing undo recording.
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 4 Jun 2012 17:13:31 +0000 (19:13 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 4 Jun 2012 17:13:31 +0000 (19:13 +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
status.20x

index a9e27254cae3a79690efe13f4f4b3b65205e31ff..6a79ea0ec22cd6c2146779850111332c6f2a1be6 100644 (file)
@@ -496,6 +496,7 @@ void InsetPrintIndex::doDispatch(Cursor & cur, FuncRequest & cmd)
                        cur.noScreenUpdate();
                        break;
                }
+               cur.recordUndo();
                setParams(p);
                break;
        }
index cb76a89641feb6377601571feedfd4df182fe1b9..41de7807dc5c940eab38f537f06138a977ab4bda 100644 (file)
@@ -173,6 +173,9 @@ What's new
 - Box settings dialog didn't work if you were actually inside the box 
   (bug 8124).
 
+- Mark the document modified when changing type of splitted index
+  (bug 8182).
+
 - Fix tooltip for "Use Non-TeX Fonts" (bug 7787).
 
 - Fix pasting of LATIN CAPITAL LETTER SHARP S (bug 8057).