mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix warning and probably a bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22935 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
260acacf1b
commit
4bc9498c7d
@ -3151,13 +3151,13 @@ docstring const InsetTabular::editMessage() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void InsetTabular::edit(Cursor & cur, bool, EntryDirectionType)
|
void InsetTabular::edit(Cursor & cur, bool, EntryDirectionType direction)
|
||||||
{
|
{
|
||||||
//lyxerr << "InsetTabular::edit: " << this << endl;
|
//lyxerr << "InsetTabular::edit: " << this << endl;
|
||||||
cur.finishUndo();
|
cur.finishUndo();
|
||||||
cur.selection() = false;
|
cur.selection() = false;
|
||||||
cur.push(*this);
|
cur.push(*this);
|
||||||
if (left) {
|
if (direction == ENTER_FROM_LEFT) {
|
||||||
if (isRightToLeft(cur))
|
if (isRightToLeft(cur))
|
||||||
cur.idx() = tabular.getLastCellInRow(0);
|
cur.idx() = tabular.getLastCellInRow(0);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user