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
This commit is contained in:
Richard Heck 2011-08-08 18:29:52 +00:00
parent e0fe63f31c
commit 799cf1a913

View 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();
}