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:
André Pönitz 2001-11-27 13:36:23 +00:00
parent b8e78dc35f
commit 4637f33070

View File

@ -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();