git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24592 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-05-03 08:24:05 +00:00
parent d8a3f71d4c
commit a04284c2b8

View File

@ -548,8 +548,6 @@ void GuiView::on_currentWorkAreaChanged(GuiWorkArea * wa)
this, SLOT(updateWindowTitle(GuiWorkArea *)));
updateWindowTitle(wa);
// Navigator needs more than a simple update in this case. It needs to be
// rebuilt.
structureChanged();
// Buffer-dependent dialogs must be updated. This is done here because
@ -926,7 +924,11 @@ void GuiView::errors(string const & error_type)
void GuiView::structureChanged()
{
d.toc_models_.reset(view());
// Navigator needs more than a simple update in this case. It needs to be
// rebuilt.
updateDialog("toc", "");
// Same for the document settings dialog.
updateDialog("document", "");
}