fix crash on exit.

* LyXView::setBuffer(): returns early if quitting.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15521 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-10-24 07:55:46 +00:00
parent 00ffa3ca7c
commit 2e56c97bcc

View File

@ -121,6 +121,9 @@ void LyXView::setBuffer(Buffer * b)
connectBuffer(*work_area_->bufferView().buffer());
}
if (quitting)
return;
updateMenubar();
updateToolbars();
updateLayoutChoice();