]> Creatis software - creaWT.git/blobdiff - wt/bbtk_wt_PKG/src/bbwtComboBox.cxx
#3037 creaWT Bug New Normal - AddMesh update
[creaWT.git] / wt / bbtk_wt_PKG / src / bbwtComboBox.cxx
index 3ab014667bb14bfd98b72815ff8747650e9b5e5e..971d85b334c848549762299ccf232f9c00583b5d 100644 (file)
@@ -106,7 +106,13 @@ void ComboBox::Process()
 
        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)