Since trac is not reachable: the attached patch fixes the crash for me.

Thoughts?

-- 
Jürgen
diff --git a/src/BufferView.cpp b/src/BufferView.cpp
index c498d29248..b2a4177c01 100644
--- a/src/BufferView.cpp
+++ b/src/BufferView.cpp
@@ -2259,7 +2259,8 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
 
 		d->text_metrics_[&buffer_.text()].editXY(cur, p.x, p.y);
 		//FIXME: what to do with cur.x_target()?
-		bool update = in_texted && cur.bv().checkDepm(cur, old);
+		bool update = (in_texted && cur.bv().checkDepm(cur, old))
+				|| (cur.nextInset() && !cur.nextInset()->hasDim(cur.bv()));
 		cur.finishUndo();
 
 		if (update) {
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to