this, SLOT(updateView()));
connect(autoUpdateCB, SIGNAL(toggled(bool)),
updatePB, SLOT(setDisabled(bool)));
+ connect(autoUpdateCB, SIGNAL(toggled(bool)),
+ this, SLOT(updateView()));
connect(updatePB, SIGNAL(clicked()),
this, SLOT(updateView()));
void ViewSourceWidget::setBufferView(BufferView const * bv)
{
bv_ = bv;
+ setEnabled(bv ? true : false);
}