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

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

parents e00416f8 ce43e213
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
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