ComboBoxWidget *widget = (ComboBoxWidget *)bbGetOutputWidget();
widget->SetItems( bbGetInputIn() );
-
+ bbSetOutputOut( 0 );
+ if (bbGetInputIn().size()>0)
+ {
+ bbSetOutputOutString( bbGetInputIn()[0] );
+ } else {
+ bbSetOutputOutString( "" );
+ }
}
//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)