]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/BaseObjects/Parameters.cxx
...
[cpPlugins.git] / lib / cpPlugins / BaseObjects / Parameters.cxx
index cfb5f83b220aaa3b0a8488887932aa2df34c8deb..4025461f345cc060d294880281c3c9f9b4d989f3 100644 (file)
@@ -200,6 +200,7 @@ ConfigureAsRealTypesChoices( const std::string& name )
   choices.push_back( "float" );
   choices.push_back( "double" );
   this->ConfigureAsChoices( name, choices );
+  this->SetSelectedChoice( name, "float" );
 }
 
 // -------------------------------------------------------------------------
@@ -216,6 +217,7 @@ ConfigureAsIntTypesChoices( const std::string& name )
   choices.push_back( "long" );
   choices.push_back( "ulong" );
   this->ConfigureAsChoices( name, choices );
+  this->SetSelectedChoice( name, "char" );
 }
 
 // -------------------------------------------------------------------------
@@ -234,6 +236,7 @@ ConfigureAsScalarTypesChoices( const std::string& name )
   choices.push_back( "float" );
   choices.push_back( "double" );
   this->ConfigureAsChoices( name, choices );
+  this->SetSelectedChoice( name, "char" );
 }
 
 // -------------------------------------------------------------------------