commit 33e10ff2138ae95ae42d922a51e93b9ba9c7bca6
Author: Juergen Spitzmueller <[email protected]>
Date: Fri Mar 21 10:20:12 2014 +0100
Fix selection drawing after mouse-double/triple in mathed
Fixes: #8829
diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp
index ab88cf9..479a682 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: