Commit ce43e213 authored by Guillaume Pasero's avatar Guillaume Pasero

Merge branch 'mantis-1097' into develop

parents 0a0765f1 61eccb92
......@@ -38,9 +38,12 @@ QtWidgetInputVectorDataParameter::~QtWidgetInputVectorDataParameter()
void QtWidgetInputVectorDataParameter::DoUpdateGUI()
{
//update lineedit
QString text( m_InputVectorDataParam->GetFileName().c_str() );
if (text != m_Input->text())
m_Input->setText(text);
if(m_InputVectorDataParam->HasUserValue())
{
QString text( m_InputVectorDataParam->GetFileName().c_str() );
if (text != m_Input->text())
m_Input->setText(text);
}
}
void QtWidgetInputVectorDataParameter::DoCreateWidget()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment