commit a7f81701fc1e1bc6254d252f3d6a4b8962e96300
Author: Scott Kostyshak <[email protected]>
Date:   Sun May 11 01:08:20 2025 +0200

    Update buffer after moving row/column in tabular
    
    Consistent with 9ca00773.
---
 src/insets/InsetTabular.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp
index 3f7544a4a1..bbf25bb83e 100644
--- a/src/insets/InsetTabular.cpp
+++ b/src/insets/InsetTabular.cpp
@@ -7417,6 +7417,7 @@ void InsetTabular::tabularFeatures(Cursor & cur,
                        cur.setSelection();
                } else
                        cur.idx() = tabular.cellIndex(row, column + 1);
+               cur.forceBufferUpdate();
                break;
 
        case Tabular::MOVE_COLUMN_LEFT:
@@ -7429,6 +7430,7 @@ void InsetTabular::tabularFeatures(Cursor & cur,
                        cur.setSelection();
                } else
                        cur.idx() = tabular.cellIndex(row, column - 1);
+               cur.forceBufferUpdate();
                break;
 
        case Tabular::MOVE_ROW_DOWN:
@@ -7441,6 +7443,7 @@ void InsetTabular::tabularFeatures(Cursor & cur,
                        cur.setSelection();
                } else
                        cur.idx() = tabular.cellIndex(row + 1, column);
+               cur.forceBufferUpdate();
                break;
 
        case Tabular::MOVE_ROW_UP:
@@ -7453,6 +7456,7 @@ void InsetTabular::tabularFeatures(Cursor & cur,
                        cur.setSelection();
                } else
                        cur.idx() = tabular.cellIndex(row - 1, column);
+               cur.forceBufferUpdate();
                break;
 
        case Tabular::SET_LINE_TOP:
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to