Commit 52521536 authored by Julien Malik's avatar Julien Malik

BUG: fix #686 - cursor sent to end of line edit after each keystroke

parent 794a8b05
......@@ -36,7 +36,8 @@ void QtWidgetInputFilenameParameter::DoUpdateGUI()
{
// Update the lineEdit
QString text( m_FilenameParam->GetValue().c_str() );
m_Input->setText(text);
if (text != m_Input->text())
m_Input->setText(text);
}
void QtWidgetInputFilenameParameter::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