]> git.lyx.org Git - lyx.git/blobdiff - src/Text2.cpp
adjust
[lyx.git] / src / Text2.cpp
index c5171fbbd581a73e1a88cdfcd4018a951c5d9926..bd7effb23f36ced85b42935a167e2c8170271782 100644 (file)
@@ -586,7 +586,7 @@ bool Text::checkAndActivateInset(Cursor & cur, bool front)
        if (!front && cur.pos() == 0)
                return false;
        Inset * inset = front ? cur.nextInset() : cur.prevInset();
-       if (!isHighlyEditableInset(inset))
+       if (!inset || inset->editable() != Inset::HIGHLY_EDITABLE)
                return false;
        /*
         * Apparently, when entering an inset we are expected to be positioned