* src/insets/InsetTabular.cpp (doDispatch):

- add missing recordUndo to LFUN_CLIPBOARD_PASTE /
	  LFUN_PRIMARY_SELECTION_PASTE (bug 4371)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21716 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-11-22 09:10:40 +00:00
parent 282dd7d46d
commit 85e5d42e5f
2 changed files with 3 additions and 0 deletions

View File

@ -3423,6 +3423,7 @@ void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd)
// 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

View File

@ -133,6 +133,8 @@ What's new
- Fix cut and paste of tabular cells via the external clipboard (bug 4147).
- Fix undo in tabulars after pasting via the external clipboard (bug 4371).
- Repair wasy font such that it can also be used on Mac (bug 2326).
- Fix color of some math symbols (bug 2330).