mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-14 12:25:11 +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 *)));
|
this, SLOT(updateWindowTitle(GuiWorkArea *)));
|
||||||
updateWindowTitle(wa);
|
updateWindowTitle(wa);
|
||||||
|
|
||||||
// Navigator needs more than a simple update in this case. It needs to be
|
|
||||||
// rebuilt.
|
|
||||||
structureChanged();
|
structureChanged();
|
||||||
|
|
||||||
// Buffer-dependent dialogs must be updated. This is done here because
|
// 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()
|
void GuiView::structureChanged()
|
||||||
{
|
{
|
||||||
d.toc_models_.reset(view());
|
d.toc_models_.reset(view());
|
||||||
|
// Navigator needs more than a simple update in this case. It needs to be
|
||||||
|
// rebuilt.
|
||||||
updateDialog("toc", "");
|
updateDialog("toc", "");
|
||||||
|
// Same for the document settings dialog.
|
||||||
|
updateDialog("document", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user