commit e9998fb1ccd8d66897d74b3b11efd7246e0fa0f0
Author: Juergen Spitzmueller <[email protected]>
Date: Sun Oct 22 10:19:50 2023 +0200
Enter table after insertion (#12101)
posForward() jumped over the inset, which is not what is wanted here,
I think (cf. other inset insertion methods)
---
src/Text.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/Text.cpp b/src/Text.cpp
index 45033a3..93ccf2a 100644
--- a/src/Text.cpp
+++ b/src/Text.cpp
@@ -5578,7 +5578,8 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
from_utf8(N_(" not
known")));
}
if (doInsertInset(cur, this, cmd, false, true))
- cur.posForward();
+ // move inside
+ (void) checkAndActivateInset(cur, true);
break;
}
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs