From: Juergen Spitzmueller Date: Fri, 21 Mar 2014 09:20:12 +0000 (+0100) Subject: Fix selection drawing after mouse-double/triple in mathed X-Git-Tag: 2.2.0alpha1~2068 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=33e10ff2138ae95ae42d922a51e93b9ba9c7bca6;p=lyx.git Fix selection drawing after mouse-double/triple in mathed Fixes: #8829 --- diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index ab88cf96f4..479a68257c 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/mathed/InsetMathNest.cpp @@ -736,6 +736,7 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd) cur.setSelection(true); cur.idx() = cur.lastidx(); cur.pos() = cur.lastpos(); + cur.bv().cursor() = cur; break; case LFUN_PARAGRAPH_UP: