diff --git a/Code/ApplicationEngine/otbWrapperChoiceParameter.cxx b/Code/ApplicationEngine/otbWrapperChoiceParameter.cxx index b87823f7b56fc5fb555a857a0de8fa002593a428..bc4ebafd3811c8f2269a7606948e71d9df994b8b 100644 --- a/Code/ApplicationEngine/otbWrapperChoiceParameter.cxx +++ b/Code/ApplicationEngine/otbWrapperChoiceParameter.cxx @@ -39,6 +39,7 @@ ChoiceParameter::AddChoice( std::string choicekey, std::string choiceName ) choice.m_Key = choicekey; choice.m_Name = choiceName; choice.m_AssociatedParameter = ParameterGroup::New(); + choice.m_AssociatedParameter->SetName(choiceName); m_ChoiceList.push_back(choice); // Add the associated parameter as a child