Skip to content

Commit

Permalink
Fix missing signal/slot connection resulting in non-woring autocomple…
Browse files Browse the repository at this point in the history
…ter for value relation fields (fixes #16676). (#5821)

Backported from d7b08c7
  • Loading branch information
kervel authored and 3nids committed Dec 9, 2017
1 parent 7961ef3 commit 920d760
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/editorwidgets/qgsvaluerelationwidgetwrapper.cpp
Expand Up @@ -150,6 +150,8 @@ void QgsValueRelationWidgetWrapper::initWidget( QWidget* editor )
QCompleter* completer = new QCompleter( m, mLineEdit );
completer->setCaseSensitivity( Qt::CaseInsensitive );
mLineEdit->setCompleter( completer );

connect( mLineEdit, SIGNAL( textChanged( QString ) ), this, SLOT( onValueChanged() ) );
}
}

Expand Down

0 comments on commit 920d760

Please sign in to comment.