mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
fix bug dicovered by Richard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3513 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5e20b471dd
commit
27e96b13bf
@ -571,8 +571,8 @@ void MathCursor::delLine()
|
||||
par()->asGridInset()->delRow(hullRow());
|
||||
}
|
||||
|
||||
if (idx() > par()->nargs())
|
||||
idx() = par()->nargs();
|
||||
if (idx() >= par()->nargs())
|
||||
idx() = par()->nargs() - 1;
|
||||
|
||||
if (pos() > size())
|
||||
pos() = size();
|
||||
|
Loading…
Reference in New Issue
Block a user