diff --git a/Code/Wrappers/QtWidget/otbWrapperQtWidgetStringParameter.cxx b/Code/Wrappers/QtWidget/otbWrapperQtWidgetStringParameter.cxx index 1e363e2e0724784314b8711c63f9d4374c12918c..e7006fd14ea35460dac005efd979a1a6f9281d35 100644 --- a/Code/Wrappers/QtWidget/otbWrapperQtWidgetStringParameter.cxx +++ b/Code/Wrappers/QtWidget/otbWrapperQtWidgetStringParameter.cxx @@ -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()