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
This commit is contained in:
Dov Feldstern 2008-02-12 20:58:12 +00:00
parent 040f3431e7
commit ea3dce8c69

View File

@ -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