case graphics::NoDisplay: item = 0; break;
}
dialog_->showCB->setCurrentIndex(item);
- dialog_->showCB->setEnabled(igp.display != graphics::NoDisplay && !readOnly());
- dialog_->displayGB->setChecked(igp.display != graphics::NoDisplay);
- dialog_->displayscale->setEnabled(igp.display != graphics::NoDisplay && !readOnly());
dialog_->displayscale->setText(toqstr(convert<string>(igp.lyxscale)));
+ dialog_->displayGB->setChecked(igp.display != graphics::NoDisplay);
// the output section (width/height)
dialog_->Scale->setText(toqstr(igp.scale));
this, SLOT( change_adaptor() ) );
connect(clip, SIGNAL( stateChanged(int) ),
this, SLOT( change_adaptor() ) );
+ connect(displayGB, SIGNAL( toggled(bool) ),
+ this, SLOT( change_adaptor() ) );
connect(showCB, SIGNAL( currentIndexChanged(int) ),
this, SLOT( change_adaptor() ) );
connect(displayscale, SIGNAL( textChanged(const QString&) ),