Commit 61eccb92 authored by Guillaume Pasero's avatar Guillaume Pasero

BUG: Mantis-1097: allow user to type a path in the input vector data line edit

parent 861ed67a
......@@ -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