]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiView.cpp
Mention style-dependency of of features in the tooltips, part 2
[lyx.git] / src / frontends / qt4 / GuiView.cpp
index 7edbcc54216ea41bd6d2ea80c9e93d8b9727a021..a6b5877be1e67a9f8a114c65d378ef828136e273 100644 (file)
@@ -1655,7 +1655,7 @@ void GuiView::structureChanged()
        // This is called from the Buffer, which has no way to ensure that cursors
        // in BufferView remain valid.
        if (documentBufferView())
-               documentBufferView()->cursor().fixIfBroken();
+               documentBufferView()->cursor().sanitize();
        // FIXME: This is slightly expensive, though less than the tocBackend update
        // (#9880). This also resets the view in the Toc Widget (#6675).
        d.toc_models_.reset(documentBufferView());