Skip to content
Snippets Groups Projects
Commit 29f38ad0 authored by Julien Michel's avatar Julien Michel
Browse files

BUG: Error in GetParameterAsString for Choices

parent 0406d342
No related branches found
No related tags found
No related merge requests found
......@@ -1044,11 +1044,11 @@ std::string Application::GetParameterAsString(std::string paramKey)
|| type == ParameterType_Directory || type == ParameterType_InputImage
|| type == ParameterType_ComplexInputImage || type == ParameterType_InputVectorData
|| type == ParameterType_OutputImage || type == ParameterType_OutputVectorData
|| type == ParameterType_ListView)
|| type == ParameterType_ListView || type == ParameterType_Choice)
{
ret = this->GetParameterString( paramKey );
}
else if ( type == ParameterType_Int || type == ParameterType_Radius || type == ParameterType_Choice
else if ( type == ParameterType_Int || type == ParameterType_Radius
|| type == ParameterType_RAM)
{
std::ostringstream oss;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment