commit 83af3dfd2969e6dbe2b515aabfe5cf71c64cf6a8 Author: Scott Kostyshak <skost...@lyx.org> Date: Wed Feb 22 11:12:56 2023 -0500
Fix equation numbers after row operation (#12665) After removing/adding rows, the corresponding equation numbers in the LyX display were not updated (although if you clicked outside the math inset they were). Now they are updated immediately after the operation. --- src/mathed/InsetMathGrid.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mathed/InsetMathGrid.cpp b/src/mathed/InsetMathGrid.cpp index 0061bdd..65cd662 100644 --- a/src/mathed/InsetMathGrid.cpp +++ b/src/mathed/InsetMathGrid.cpp @@ -1550,6 +1550,7 @@ void InsetMathGrid::doDispatch(Cursor & cur, FuncRequest & cmd) cur.undispatched(); break; } + cur.forceBufferUpdate(); // perhaps this should be FINISHED_BACKWARD -- just for clarity? //lyxerr << "returning FINISHED_LEFT" << endl; break; -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs