commit 61db164302552efcbaa426598ccd4df8847c95f9
Author: Enrico Forestieri <[email protected]>
Date: Sun Feb 28 14:56:42 2021 +0100
Fix bug #11444
---
src/mathed/InsetMathNest.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp
index c6ea585..01719e5 100644
--- a/src/mathed/InsetMathNest.cpp
+++ b/src/mathed/InsetMathNest.cpp
@@ -791,7 +791,7 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest &
cmd)
cur.clearTargetX();
cur.macroModeClose();
if (!cur.inset().idxPrev(cur)) {
- cur.idx() = lastIdx();
+ cur.idx() = cur.lastidx();
cur.pos() = lyxrc.mac_like_cursor_movement ?
cur.lastpos() : 0;
}
break;
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs