From: Juergen Spitzmueller Date: Sun, 22 Oct 2023 08:19:50 +0000 (+0200) Subject: Enter table after insertion (#12101) X-Git-Tag: 2.4.0-RC1~118 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e9998fb1ccd8d66897d74b3b11efd7246e0fa0f0;p=lyx.git Enter table after insertion (#12101) posForward() jumped over the inset, which is not what is wanted here, I think (cf. other inset insertion methods) --- 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; }