From c9bd56ab18a5793dc267040d52182619251ac563 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Thu, 4 Jan 2007 09:48:54 +0000 Subject: [PATCH] * src/insets/insettabular.C (InsetTabular::doDispatch): Don't reset the table paste buffer when pasting from the external clipboard or selection, since no paste operation should ever change any clipboard. At the same time make the code more readable by removing the fall-through. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16492 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/insettabular.C | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/insets/insettabular.C b/src/insets/insettabular.C index 04ff0940fe..790239ec0b 100644 --- a/src/insets/insettabular.C +++ b/src/insets/insettabular.C @@ -722,14 +722,9 @@ void InsetTabular::doDispatch(LCursor & cur, FuncRequest & cmd) bvcur.setCursor(cur); break; } - } else { - // so that the clipboard is used and it goes on - // to default - // and executes LFUN_PRIMARY_SELECTION_PASTE in insettext! - paste_tabular.reset(); - dirtyTabularStack(false); } - // fall through + // Let the cell handle normal text + cell(cur.idx())->dispatch(cur, cmd); } case LFUN_PASTE: