]> git.lyx.org Git - lyx.git/blobdiff - src/DocIterator.cpp
whitespace only
[lyx.git] / src / DocIterator.cpp
index 51433d47814b617463aa30273e78d02b75c2a7f6..49705bc96b0fce1d29113a092c610ea2f9ea3f21 100644 (file)
@@ -315,7 +315,7 @@ void DocIterator::forwardPosIgnoreCollapsed()
        // FIXME: the check for asInsetMath() shouldn't be necessary
        // but math insets do not return a sensible editable() state yet.
        if (nextinset && !nextinset->asInsetMath()
-           && nextinset->editable() != Inset::HIGHLY_EDITABLE) {
+           && !nextinset->editable()) {
                ++top().pos();
                return;
        }