From ea3dce8c6925c79b672c3efd8b617efe49be71b4 Mon Sep 17 00:00:00 2001 From: Dov Feldstern Date: Tue, 12 Feb 2008 20:58:12 +0000 Subject: [PATCH] fix r22935, which was an attempt to fix a bug of mine in r22929. This brings things back to the way they were (semantically) before r22929, which is the way they should be (visual mode has not been implemented for tables, yet, and therefore tables should not be semantically changed here). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22967 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetTabular.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 09f0422ed2..ebb9f0adbe 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -3153,13 +3153,13 @@ docstring const InsetTabular::editMessage() const } -void InsetTabular::edit(Cursor & cur, bool, EntryDirection direction) +void InsetTabular::edit(Cursor & cur, bool front, EntryDirection) { //lyxerr << "InsetTabular::edit: " << this << endl; cur.finishUndo(); cur.selection() = false; cur.push(*this); - if (direction == ENTRY_DIRECTION_LEFT) { + if (front) { if (isRightToLeft(cur)) cur.idx() = tabular.getLastCellInRow(0); else