mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
accept limit-toggling between the symbol and the script inset, not behind
everything git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3092 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b8e78dc35f
commit
4637f33070
@ -639,9 +639,9 @@ bool MathCursor::down(bool sel)
|
||||
|
||||
bool MathCursor::toggleLimits()
|
||||
{
|
||||
if (!hasPrevAtom())
|
||||
if (!hasNextAtom())
|
||||
return false;
|
||||
MathScriptInset * t = prevAtom()->asScriptInset();
|
||||
MathScriptInset * t = nextAtom()->asScriptInset();
|
||||
if (!t)
|
||||
return false;
|
||||
int old = t->limits();
|
||||
|
Loading…
Reference in New Issue
Block a user