]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.cpp
Fix language direction switch issue
[lyx.git] / src / Cursor.cpp
index ad46e8c50567e61af367f7b1c90e26133393086d..d2190e729fb44dc7364cc2c2526f2574e2d4e456 100644 (file)
@@ -2216,7 +2216,7 @@ bool Cursor::upDownInText(bool up, bool & updateNeeded)
                        if (updateNeeded)
                                forceBufferUpdate();
                }
-               return false;
+               return valid_destination;
        }
 
        // with and without selection are handled differently