Skip to content
Snippets Groups Projects
Commit c372a252 authored by Jonathan Guinet's avatar Jonathan Guinet
Browse files

BUG : HasUserValue is not set in CommandLine and QT.

parent 8ef0e511
Branches
Tags
No related merge requests found
...@@ -320,6 +320,7 @@ CommandLineLauncher::LoadParameters() ...@@ -320,6 +320,7 @@ CommandLineLauncher::LoadParameters()
const bool paramExists( m_Parser->IsAttributExists( std::string("--").append(paramKey), m_Expression ) ); const bool paramExists( m_Parser->IsAttributExists( std::string("--").append(paramKey), m_Expression ) );
const bool hasValue = m_Application->HasValue( paramKey ); const bool hasValue = m_Application->HasValue( paramKey );
param->SetUserValue(true);
// Check if mandatory parameter are present and have value // Check if mandatory parameter are present and have value
if( param->GetMandatory() == true ) if( param->GetMandatory() == true )
{ {
......
...@@ -57,7 +57,7 @@ void QtWidgetStringParameter::DoCreateWidget() ...@@ -57,7 +57,7 @@ void QtWidgetStringParameter::DoCreateWidget()
void QtWidgetStringParameter::SetValue(const QString& value) void QtWidgetStringParameter::SetValue(const QString& value)
{ {
m_StringParam->SetValue(value.toStdString()); m_StringParam->SetValue(value.toStdString());
m_StringParam->SetUserValue(true);
QString key( QString::fromStdString(m_StringParam->GetKey()) ); QString key( QString::fromStdString(m_StringParam->GetKey()) );
emit ParameterChanged(key); emit ParameterChanged(key);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment