git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32873 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-01-08 01:51:52 +00:00
parent 2d54882d58
commit 41270b98b4

View File

@ -334,7 +334,7 @@ void GuiWorkArea::setGuiView(GuiView & gv)
void GuiWorkArea::setBuffer(Buffer & buffer)
{
delete buffer_view_;
buffer_view_ = new BufferView(buffer),
buffer_view_ = new BufferView(buffer);
buffer.workAreaManager().add(this);
// HACK: Prevents an additional redraw when the scrollbar pops up