]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_cursor.C
fix 'invalid cursor position after typing \sum'
[features.git] / src / mathed / math_cursor.C
index caddb5450023304626af47ec03e81cca0b765b9c..f4939022018abba450b516afbff0f4a8f83b03c5 100644 (file)
@@ -745,7 +745,8 @@ in_word_set(s) << " \n";
                insert(p);
                if (p->nargs()) {
                        plainLeft();
-                       push(p, true);
+                       //push(p, true);
+                       Right();  // do not push for e.g. MathBigopInset
                        if (oldsel) 
                                SelPaste();
                }