]> git.lyx.org Git - lyx.git/blobdiff - src/undo_funcs.C
Fix working of the spellchecker dialog with ispell when there are no
[lyx.git] / src / undo_funcs.C
index 64afb1ac196babfbd61a8eb4cb21d78bfc2e7d55..56b53ec745517dd9df85878b2189693875fed901 100644 (file)
@@ -296,7 +296,7 @@ Undo * createUndo(BufferView * bv, Undo::undo_kind kind,
   
                while (tmppar != end && tmppar->next()) {
                        tmppar = tmppar->next();
-                       tmppar2->next(new Paragraph(*tmppar));
+                       tmppar2->next(new Paragraph(*tmppar, false));
                        tmppar2->next()->id(tmppar->id());
                        // a memory optimization: Just store the layout
                        // information when only edit