]> git.lyx.org Git - features.git/blobdiff - src/BufferView.cpp
* fix #3310: When you click on a line after the end of the text,
[features.git] / src / BufferView.cpp
index 3fdfd2b6dbdda9eab98bc2738af6e0186ebeb51f..e89151d5ac857ec2d77655cd2ed91e21ebf9b399 100644 (file)
@@ -1429,6 +1429,7 @@ bool BufferView::mouseSetCursor(Cursor & cur)
        //lyxerr << "5 cur after" << dit <<std::endl;
 
        cursor_.setCursor(dit);
+       cursor_.boundary(cur.boundary());
        cursor_.clearSelection();
        finishUndo();
        return update;