Fix bug #3706: Mathed builtin/macro expansion not performed when clicking away.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29688 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-05-15 22:49:20 +00:00
parent 193b36e71f
commit 33c44db749

View File

@ -1918,6 +1918,7 @@ bool BufferView::mouseSetCursor(Cursor & cur, bool select)
bool update = leftinset;
if (!do_selection && d->cursor_.inTexted())
update |= checkDepm(cur, d->cursor_);
d->cursor_.macroModeClose();
d->cursor_.setCursor(cur);
d->cursor_.boundary(cur.boundary());