From e9998fb1ccd8d66897d74b3b11efd7246e0fa0f0 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sun, 22 Oct 2023 10:19:50 +0200 Subject: [PATCH] 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 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Text.cpp b/src/Text.cpp index 45033a3bbf..93ccf2ac99 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; } -- 2.39.5