]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.cpp
A couple comments and some very minor cleanup.
[lyx.git] / src / BufferView.cpp
index 82399c77b74ac6b176b9378dfa835e846493a44e..70ce4b8ce5738897b7a0e8c4fa2dc59b7ea52e62 100644 (file)
@@ -1950,7 +1950,7 @@ Inset const * BufferView::getCoveringInset(Text const & text,
        if (!inset)
                return 0;
 
-       if (!inset->descendable())
+       if (!inset->descendable(*this))
                // No need to go further down if the inset is not
                // descendable.
                return inset;