mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +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()
|
bool MathCursor::toggleLimits()
|
||||||
{
|
{
|
||||||
if (!hasPrevAtom())
|
if (!hasNextAtom())
|
||||||
return false;
|
return false;
|
||||||
MathScriptInset * t = prevAtom()->asScriptInset();
|
MathScriptInset * t = nextAtom()->asScriptInset();
|
||||||
if (!t)
|
if (!t)
|
||||||
return false;
|
return false;
|
||||||
int old = t->limits();
|
int old = t->limits();
|
||||||
|
Loading…
Reference in New Issue
Block a user