Skip to content
Snippets Groups Projects
Commit ac22e715 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: SetFileName() has changed in wrapper Qt InputVectorDataParameter

parent b5981969
No related branches found
No related tags found
No related merge requests found
......@@ -75,8 +75,9 @@ void QtWidgetInputVectorDataParameter::SelectFile()
}
}
void QtWidgetInputVectorDataParameter::SetFileName(const QString& value)
bool QtWidgetInputVectorDataParameter::SetFileName(const QString& value)
{
bool res = false;
// save value
if(m_InputVectorDataParam->SetFromFileName(value.toStdString()) == false )
{
......@@ -84,6 +85,10 @@ void QtWidgetInputVectorDataParameter::SetFileName(const QString& value)
QString key( QString::fromStdString(m_InputVectorDataParam->GetKey()) );
emit ParameterChanged(key);
}
else
res = true;
return res;
}
}
......
......@@ -39,7 +39,7 @@ public:
virtual ~QtWidgetInputVectorDataParameter();
protected slots:
void SetFileName( const QString& value );
bool SetFileName( const QString& value );
void SelectFile();
private:
......
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