Skip to content
Snippets Groups Projects
Commit 221dc59b authored by Julien Malik's avatar Julien Malik
Browse files

BUG: backout ChoiceParameter::GetParametersKeys modification

parent e6bf2b45
Branches
Tags
No related merge requests found
......@@ -155,7 +155,23 @@ ChoiceParameter::GetValue()
std::vector<std::string>
ChoiceParameter::GetParametersKeys()
{
return this->GetChoiceKeys();
std::vector<std::string> parameters;
ChoiceList::iterator cit = m_ChoiceList.begin();
for (cit = m_ChoiceList.begin(); cit != m_ChoiceList.end(); ++cit)
{
if (cit->m_AssociatedParameter)
{
std::vector<std::string> subparams = cit->m_AssociatedParameter->GetParametersKeys();
for (std::vector<std::string>::const_iterator it = subparams.begin();
it != subparams.end(); ++it)
{
parameters.push_back( cit->m_Key + "." + *it );
}
}
}
return parameters;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment