]> git.lyx.org Git - lyx.git/commitdiff
Enter table after insertion (#12101)
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 22 Oct 2023 08:19:50 +0000 (10:19 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 22 Oct 2023 08:19:50 +0000 (10:19 +0200)
posForward() jumped over the inset, which is not what is wanted here,
I think (cf. other inset insertion methods)

src/Text.cpp

index 45033a3bbfcb5d6d157f39dc9a81408f4ab66784..93ccf2ac99fff94a29577b854e28dde8d9363985 100644 (file)
@@ -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;
        }