for(int i=0;i<_lstValues.size();i++)
{
- std::string text = wx2std(_lstValues[i]->GetLabelText());
- _model->setValueToInputPort(i,text);
+ std::string text = wx2std(_lstValues[i]->GetLabelText());
+ //TOFIX Search a better alternative
+ if(text!="--No editable--" && text!="--Port Connected--")
+ {
+ _model->setValueToInputPort(i,text);
+ }
}
Close(true);