This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The LyX Source Repository".
The branch, master has been updated via 982562179801340feff7eb108addd99ec4a05d08 (commit) from 3c0e3c16c8c75524cd25e2fd9f34e2f2e17af150 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 982562179801340feff7eb108addd99ec4a05d08 Author: Enrico Forestieri <for...@lyx.org> Date: Mon Apr 30 23:55:34 2012 +0200 Fix bug #8140: Crash with math macros and input completion When clicking away in the same math inset after hitting '\', the cursor may be broken and all of its instances have to be fixed. diff --git a/src/BufferView.cpp b/src/BufferView.cpp index bc8599f..a30c0f0 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -2201,8 +2201,8 @@ void BufferView::mouseEventDispatch(FuncRequest const & cmd0) // Notify left insets if (cur != old) { - old.fixIfBroken(); - bool badcursor = notifyCursorLeavesOrEnters(old, cur); + bool badcursor = old.fixIfBroken() | cur.fixIfBroken() + | notifyCursorLeavesOrEnters(old, cur); if (badcursor) cursor().fixIfBroken(); } ----------------------------------------------------------------------- Summary of changes: src/BufferView.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- The LyX Source Repository