Updates controls after reinitialization.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21712 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-11-22 07:33:18 +00:00
parent 9f7798c6ce
commit b42e2d61d8

View File

@ -1221,6 +1221,9 @@ void GuiView::resetDialogs()
d.menubar_->init(); d.menubar_->init();
if (d.layout_) if (d.layout_)
d.layout_->updateContents(true); d.layout_->updateContents(true);
// Now update controls with current buffer.
theLyXFunc().setLyXView(this);
restartCursor();
} }