Skip to content
Snippets Groups Projects
Commit ba1ca99c authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH: add the possibility for StringParameter content to be updated

parent e8a1d1d6
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,10 @@ QtWidgetStringParameter::~QtWidgetStringParameter()
void QtWidgetStringParameter::DoUpdateGUI()
{
m_Input->setToolTip(m_StringParam->GetDescription());
// Update the lineEdit
QString text( QString::fromStdString(m_StringParam->GetValue() ));
m_Input->setText(text);
}
void QtWidgetStringParameter::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