]> git.lyx.org Git - lyx.git/commitdiff
Fix selection drawing after mouse-double/triple in mathed
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 21 Mar 2014 09:20:12 +0000 (10:20 +0100)
committerRichard Heck <rgheck@lyx.org>
Mon, 21 Apr 2014 15:51:56 +0000 (11:51 -0400)
Fixes: #8829
src/mathed/InsetMathNest.cpp

index ab88cf96f4133b5be5221fe2bd3475cf7e177d82..479a68257ccfbb5146a585101f2377fb104873e2 100644 (file)
@@ -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: