diff --git a/src/frontends/qt4/QGraphics.C b/src/frontends/qt4/QGraphics.C index 6dab88e6f2..e9b872b131 100644 --- a/src/frontends/qt4/QGraphics.C +++ b/src/frontends/qt4/QGraphics.C @@ -219,10 +219,8 @@ void QGraphics::update_contents() 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(igp.lyxscale))); + dialog_->displayGB->setChecked(igp.display != graphics::NoDisplay); // the output section (width/height) dialog_->Scale->setText(toqstr(igp.scale)); diff --git a/src/frontends/qt4/QGraphicsDialog.C b/src/frontends/qt4/QGraphicsDialog.C index 2b79726e09..40a7cab885 100644 --- a/src/frontends/qt4/QGraphicsDialog.C +++ b/src/frontends/qt4/QGraphicsDialog.C @@ -57,6 +57,8 @@ QGraphicsDialog::QGraphicsDialog(QGraphics * form) 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&) ),