X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FLyXView.cpp;h=6c358ae01470d99cabece1da3f8d3c2409fea682;hb=9092bffc32c3a9206818f82265ff9a6db4bc7fbe;hp=2342882247e88fcb4f65bf3337e0a7eaefe1b00c;hpb=f827bcd96eff79b539fe18d0f68d32700aa1a617;p=features.git diff --git a/src/frontends/LyXView.cpp b/src/frontends/LyXView.cpp index 2342882247..6c358ae014 100644 --- a/src/frontends/LyXView.cpp +++ b/src/frontends/LyXView.cpp @@ -196,7 +196,7 @@ void LyXView::connectBuffer(Buffer & buf) boost::bind(&WorkArea::redraw, work_area_)); bufferStructureChangedConnection_ = - buf.structureChanged.connect( + buf.getMasterBuffer()->structureChanged.connect( boost::bind(&LyXView::updateToc, this)); errorsConnection_ =