From dfa07c142465a68608eb12652b3447d46d6a310a Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 21 Mar 2014 10:20:12 +0100 Subject: [PATCH] Fix selection drawing after mouse-double/triple in mathed Fixes: #8829 --- src/mathed/InsetMathNest.cpp | 1 + status.21x | 2 ++ 2 files changed, 3 insertions(+) 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 -- 2.39.5