mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Fix bug #6162: Crash after close window with master/child.
The previous fix was nonsense. It appeared to be a shameful copy-paste error. GuiView::disconnectBufferView() was exactly the same as GuiView::disconnectBuffer(). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31150 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c863a953b2
commit
66dd3db8bc
@ -1082,7 +1082,7 @@ void GuiView::connectBuffer(Buffer & buf)
|
||||
void GuiView::disconnectBuffer()
|
||||
{
|
||||
if (d.current_work_area_)
|
||||
d.current_work_area_->bufferView().setGuiDelegate(0);
|
||||
d.current_work_area_->bufferView().buffer().setGuiDelegate(0);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user