commit 3196a359dbd656ee2c9d0ad8613c27f68d734011
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Thu May 1 18:47:18 2025 +0200
Update buffer after inserting a tabular inset
It is done for inserting other insets too.
---
src/Text.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/Text.cpp b/src/Text.cpp
index 3895837be6..0addf55fc2 100644
--- a/src/Text.cpp
+++ b/src/Text.cpp
@@ -5570,9 +5570,11 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
cur.errorMessage(from_utf8(N_("Table Style "))
+ from_utf8(tabstyle) +
from_utf8(N_(" not
known")));
}
- if (doInsertInset(cur, this, cmd, false, true))
+ if (doInsertInset(cur, this, cmd, false, true)) {
// move inside
(void) checkAndActivateInset(cur, true);
+ cur.forceBufferUpdate();
+ }
break;
}
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs