Skip to content
Snippets Groups Projects
Commit b936e768 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH: update the StackWidget when something changed in the GUI

parent b883ae63
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment