structureChanged();
+ // The document settings needs to be reinitialised.
+ updateDialog("document", "");
+
// Buffer-dependent dialogs must be updated. This is done here because
// some dialogs require buffer()->text.
updateDialogs();
}
#else
structureChanged();
+ // The document settings needs to be reinitialised.
+ updateDialog("document", "");
updateDialogs();
#endif
}
// The document structure, name and dialogs might have
// changed in another view.
structureChanged();
+ // The document settings needs to be reinitialised.
+ updateDialog("document", "");
updateDialogs();
} else {
setWindowTitle(qt_("LyX"));
// 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", "");
}