diff --git a/src/frontends/qt4/QGraphicsDialog.C b/src/frontends/qt4/QGraphicsDialog.C index 7d72aa1728..74f4571b26 100644 --- a/src/frontends/qt4/QGraphicsDialog.C +++ b/src/frontends/qt4/QGraphicsDialog.C @@ -53,14 +53,18 @@ QGraphicsDialog::QGraphicsDialog(QGraphics * form) this, SLOT( change_adaptor() ) ); connect(subcaption, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) ); + + // FIXME: we should connect to clicked() when we move to Qt 4.2 because + // the toggled(bool) signal is also trigged when we update the widgets connect(subfigure, SIGNAL( toggled(bool) ), this, SLOT( change_adaptor() ) ); + connect(displayGB, SIGNAL( toggled(bool) ), + this, SLOT( change_adaptor() ) ); + connect(latexoptions, SIGNAL( textChanged(const QString&) ), 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&) ),