Commit 82894610 authored by Julien Michel's avatar Julien Michel

Merge branch 'develop' of https://git.orfeo-toolbox.org/git/otb into develop

parents e00416f8 ce43e213
......@@ -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