Juergen Spitzmueller
2014-03-21 09:20:24 UTC
commit 8285e7586b4d45bbb055a131c0cdd8fbe042b734
Author: Juergen Spitzmueller <***@lyx.org>
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 c110e12..c3edfaa 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:
Author: Juergen Spitzmueller <***@lyx.org>
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 c110e12..c3edfaa 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: