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.1.1~90^2~20 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=dfa07c142465a68608eb12652b3447d46d6a310a;p=features.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 c110e12a13..c3edfaae74 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.pos() = cur.lastpos(); cur.idx() = cur.lastidx(); + cur.bv().cursor() = cur; break; case LFUN_PARAGRAPH_UP: diff --git a/status.21x b/status.21x index 2e8a172783..17c3e7ee6d 100644 --- a/status.21x +++ b/status.21x @@ -62,6 +62,8 @@ What's new drawn around very small preview imagines, so they can be seen (bug 7522). - Fix "Select Section" function in the Outliner (bug 8936). + +- Fix select-by-doubleclick in mathed (bug 8829). * DOCUMENTATION AND LOCALIZATION