Skip to content
Permalink
Browse files

Fix missing signal/slot connection resulting in non-woring autocomple…

…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 920d760eaf62d7c116bac39990848559a6089d84
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/editorwidgets/qgsvaluerelationwidgetwrapper.cpp
@@ -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() ) );
}
}

0 comments on commit 920d760

Please sign in to comment.
You can’t perform that action at this time.