]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/TocWidget.cpp
Fix the tab ordering of GuiDocument components.
[lyx.git] / src / frontends / qt4 / TocWidget.cpp
index 171d88c3eea0975d49d56416094a1a621d223e54..80c9db97d952a6ab773ca96eca3f0675fbc5f7a8 100644 (file)
@@ -245,7 +245,7 @@ void TocWidget::on_updateTB_clicked()
        // The backend update can take some time so we disable
        // the controls while waiting.
        enableControls(false);
-       gui_view_.tocModels().updateBackend();
+       gui_view_.currentBufferView()->buffer().updateBuffer();
 }