diff --git a/Code/Wrappers/QtWidget/otbWrapperQtWidgetChoiceParameter.cxx b/Code/Wrappers/QtWidget/otbWrapperQtWidgetChoiceParameter.cxx index 763f8e0db327022e895baf37764cb77d55856c43..de38049d8d8b688cd8698dbbe6093df6c5811e89 100644 --- a/Code/Wrappers/QtWidget/otbWrapperQtWidgetChoiceParameter.cxx +++ b/Code/Wrappers/QtWidget/otbWrapperQtWidgetChoiceParameter.cxx @@ -73,6 +73,7 @@ void QtWidgetChoiceParameter::DoCreateWidget() connect( m_ComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(SetValue(int)) ); connect( m_ComboBox, SIGNAL(currentIndexChanged(int)), m_StackWidget, SLOT(setCurrentIndex(int)) ); connect( m_ComboBox, SIGNAL(currentIndexChanged(int)), GetModel(), SLOT(NotifyUpdate()) ); + connect( GetModel(), SIGNAL(UpdateGui()), this, SLOT(UpdateGUI() ) ); m_VLayout = new QVBoxLayout; m_VLayout->addWidget(m_ComboBox);