From 2e84b8030e69f209d6565d11b4ae84f01d450d0d Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 14 Jun 2017 15:08:27 +0200 Subject: [PATCH] When entering an inset by cursor, reset boundary This happesn when cursor-left/right enters an inset. Fixes bug #10630. --- src/Text2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Text2.cpp b/src/Text2.cpp index 55414684e5..d7d4319d0f 100644 --- a/src/Text2.cpp +++ b/src/Text2.cpp @@ -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; }