]> git.lyx.org Git - features.git/blobdiff - src/Cursor.cpp
Fix bug 5764: http://bugzilla.lyx.org/show_bug.cgi?id=5764.
[features.git] / src / Cursor.cpp
index 346062a470f8492e10c48c89c548c2f00d3699d2..ce6997ed5981d87ab285a9626e72da4a2657501a 100644 (file)
@@ -525,7 +525,8 @@ bool Cursor::posVisRight(bool skip_inset)
 
        bool moved = (new_cur.pos() != pos()
                                  || new_cur.pit() != pit()
-                                 || new_cur.boundary() != boundary());
+                                 || new_cur.boundary() != boundary()
+                                 || &new_cur.inset() != &inset());
        
        if (moved) {
                LYXERR(Debug::RTL, "moving to: " << new_cur.pos()