http://bugzilla.lyx.org/show_bug.cgi?id=4371

Since the patch seems uncontroversial, I'll commit to branch and trunk in a
minute.

Jürgen
Index: src/insets/InsetTabular.cpp
===================================================================
--- src/insets/InsetTabular.cpp	(Revision 21691)
+++ src/insets/InsetTabular.cpp	(Arbeitskopie)
@@ -3423,6 +3423,7 @@
 		// pass to InsertPlaintextString, but
 		// only if we have multi-cell content
 		if (clip.find_first_of(from_ascii("\t\n")) != docstring::npos) {
+			recordUndoInset(cur, Undo::INSERT);
 			if (insertPlaintextString(cur.bv(), clip, false)) {
 				// content has been replaced,
 				// so cursor might be invalid

Reply via email to