From 6102cddc08aeea6d74ba5efb079341ddae5758ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 15 Jan 2004 10:20:25 +0000 Subject: [PATCH] fix one of the tabular crashs git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8352 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/insettabular.C | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/insets/insettabular.C b/src/insets/insettabular.C index cd13bcc1e2..f00f825910 100644 --- a/src/insets/insettabular.C +++ b/src/insets/insettabular.C @@ -1197,6 +1197,8 @@ bool InsetTabular::moveNextCell(BufferView * bv, CursorSlice & cur) return false; ++cur.idx_; } + cur.par_ = 0; + cur.pos_ = 0; lyxerr << "InsetTabular::moveNextCell 2 cur: " << cur << endl; resetPos(bv); return true; @@ -1222,6 +1224,8 @@ bool InsetTabular::movePrevCell(BufferView * bv, CursorSlice & cur) return false; --cur.idx_; } + cur.par_ = 0; + cur.pos_ = 0; resetPos(bv); return true; } -- 2.39.2