From 799cf1a913eb030ea486aa7bfbf6a5c5c584603c Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 8 Aug 2011 18:29:52 +0000 Subject: [PATCH] Fix bug #7708. When we reload the outliner, we have to make sure the Buffer is up to date. So we have to do a complete updateBuffer() here. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39443 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/TocWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/TocWidget.cpp b/src/frontends/qt4/TocWidget.cpp index 171d88c3ee..80c9db97d9 100644 --- a/src/frontends/qt4/TocWidget.cpp +++ b/src/frontends/qt4/TocWidget.cpp @@ -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(); } -- 2.39.2