After a cut operation, we need to make sure that the Buffer is updated
because some further operation will need updated label information for
example. So we cannot just use "cur.forceBufferUpdate()" here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36731
a592a061-630c-0410-9148-
cb99ea01b6c8
// need a valid cursor. (Lgb)
cur.clearSelection();
- cur.forceBufferUpdate();
+ // After a cut operation, we need to make sure that the Buffer is updated
+ // because some further operation will need updated label information for
+ // example. So we cannot just use "cur.forceBufferUpdate()" here.
+ cur.buffer()->updateBuffer();
// tell tabular that a recent copy happened
dirtyTabularStack(false);