mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
* Moving up from lower index shouldn't depend on existance of upper (and other
way round), OK by Uwe and Abdel git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18567 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6522da9571
commit
2c1c1b07a0
@ -484,7 +484,7 @@ bool InsetMathScript::idxUpDown(Cursor & cur, bool up) const
|
||||
}
|
||||
|
||||
// Are we 'up'?
|
||||
if (has(up) && cur.idx() == idxOfScript(true)) {
|
||||
if (cur.idx() == idxOfScript(true)) {
|
||||
// can't go further up
|
||||
if (up)
|
||||
return false;
|
||||
@ -495,7 +495,7 @@ bool InsetMathScript::idxUpDown(Cursor & cur, bool up) const
|
||||
}
|
||||
|
||||
// Are we 'down'?
|
||||
if (has(up) && cur.idx() == idxOfScript(false)) {
|
||||
if (cur.idx() == idxOfScript(false)) {
|
||||
// can't go further down
|
||||
if (!up)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user