mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-13 20:09:59 +00:00
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24592 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d8a3f71d4c
commit
a04284c2b8
@ -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", "");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user