mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
branch: Fix bug #6162: Crash after close window with master/child.
A copy-paste error. GuiView::disconnectBuffer() was exactly the same as GuiView::disconnectBufferView(). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31165 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8671278ac0
commit
70ab7f2585
@ -1076,7 +1076,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