mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
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:
parent
00ffa3ca7c
commit
2e56c97bcc
@ -121,6 +121,9 @@ void LyXView::setBuffer(Buffer * b)
|
||||
connectBuffer(*work_area_->bufferView().buffer());
|
||||
}
|
||||
|
||||
if (quitting)
|
||||
return;
|
||||
|
||||
updateMenubar();
|
||||
updateToolbars();
|
||||
updateLayoutChoice();
|
||||
|
Loading…
Reference in New Issue
Block a user