]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.cpp
* LyXAction.cpp: doxy.
[lyx.git] / src / BufferView.cpp
index 3c2fd470f4bbb4a93d125b26bfda6c01b30264a5..6089756f9bbae041d28cc8322a1b4ff34712a579 100644 (file)
@@ -729,7 +729,7 @@ bool BufferView::moveToPosition(pit_type bottom_pit, pos_type bottom_pos,
                        // insets.
                        size_t const n = dit.depth();
                        for (size_t i = 0; i < n; ++i)
-                               if (dit[i].inset().editable() != Inset::HIGHLY_EDITABLE) {
+                               if (!dit[i].inset().editable()) {
                                        dit.resize(i);
                                        break;
                                }