Skip to content
Snippets Groups Projects
Commit 52521536 authored by Julien Malik's avatar Julien Malik
Browse files

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

parent 794a8b05
Branches
Tags
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment