]> git.lyx.org Git - features.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>
Fri, 18 Apr 2014 14:52:46 +0000 (10:52 -0400)
Fixes: #8829
src/mathed/InsetMathNest.cpp
status.21x

index c110e12a13db8cbc617196e5dfa999ca6e7c389f..c3edfaae742570d03e76066c1ca0d73c04332e59 100644 (file)
@@ -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:
index 2e8a172783ffeae916e7ac68892264ea797a7545..17c3e7ee6dfcc2bc16fb2ccd9e38c29fb499c92e 100644 (file)
@@ -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