update controls upon window activation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22869 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-08 17:47:32 +00:00
parent a67e5ab02b
commit cb5859929f

View File

@ -575,6 +575,9 @@ bool GuiView::event(QEvent * e)
// The document structure, name and dialogs might have
// changed in another view.
updateBufferDependent(true);
updateToolbars();
updateLayoutList();
updateStatusBar();
} else {
setWindowTitle(qt_("LyX"));
setWindowIconText(qt_("LyX"));