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

ENH: Non-mandatory parameters have to be enabled when set

parent 6d82c4ec
No related branches found
No related tags found
No related merge requests found
......@@ -363,6 +363,9 @@ CommandLineLauncher::ParamResultType CommandLineLauncher::LoadParameters()
const bool paramExists(m_Parser->IsAttributExists(std::string("-").append(paramKey), m_Expression));
// Ensure that the parameter is enabled
m_Application->EnableParameter(paramKey);
// if param is a Group, dont do anything, ParamGroup dont have values
if (type != ParameterType_Group)
{
......
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