mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
When entering an inset by cursor, reset boundary
This happesn when cursor-left/right enters an inset. Fixes bug #10630.
This commit is contained in:
parent
e2ce2e80d7
commit
2e84b8030e
@ -593,6 +593,7 @@ bool Text::checkAndActivateInset(Cursor & cur, bool front)
|
||||
--cur.pos();
|
||||
inset->edit(cur, front);
|
||||
cur.setCurrentFont();
|
||||
cur.boundary(false);
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -612,6 +613,7 @@ bool Text::checkAndActivateInsetVisual(Cursor & cur, bool movingForward, bool mo
|
||||
inset->edit(cur, movingForward,
|
||||
movingLeft ? Inset::ENTRY_DIRECTION_RIGHT : Inset::ENTRY_DIRECTION_LEFT);
|
||||
cur.setCurrentFont();
|
||||
cur.boundary(false);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user