mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug #5536.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27626 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d0ce9e3984
commit
6f88e64895
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user