]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.cpp
es.po: fix a typo introduced by last commit
[lyx.git] / src / Cursor.cpp
index bc1219733f99a71d851d34ef5c6736336ca749f0..e9bdf895b7835f18447fa47979552aa705c897b3 100644 (file)
@@ -1947,7 +1947,7 @@ bool Cursor::upDownInText(bool up, bool & updateNeeded)
                        // Make sure that cur gets back whatever happened to dummy (Lgb)
                        operator=(dummy);
                }
-               if (pos() && paragraph().isEnvSeparator(pos() - 1))
+               if (inTexted() && pos() && paragraph().isEnvSeparator(pos() - 1))
                        posBackward();
        } else {
                // if there is a selection, we stay out of any inset,