git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27626 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2008-11-18 21:37:02 +00:00
parent d0ce9e3984
commit 6f88e64895

View File

@ -3013,8 +3013,9 @@ bool InsetTabular::isCellSelected(Cursor & cur, row_type row, col_type col)
CursorSlice const & beg = cur.selBegin();
CursorSlice const & end = cur.selEnd();
if (end.lastpos() > 0 && end.pos() == end.lastpos()
&& beg.pos() == 0)
if ((end.lastpos() > 0 || end.lastpit() > 0)
&& end.pos() == end.lastpos() && beg.pos() == 0
&& end.pit() == end.lastpit() && beg.pit() == 0)
return true;
}
}