mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Properly fix broken cursor (part of #12134)
This commit is contained in:
parent
4cd80de69e
commit
59bead6dfa
@ -5308,8 +5308,7 @@ void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
if (insertPlaintextString(cur.bv(), clip, false)) {
|
||||
// content has been replaced,
|
||||
// so cursor might be invalid
|
||||
cur.pos() = cur.lastpos();
|
||||
cur.pit() = cur.lastpit();
|
||||
cur.fixIfBroken();
|
||||
bvcur.setCursor(cur);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user