Skip to content
Permalink
Browse files

remove connection to lineeditcleared, because of already correct null…

… value implementation there

cherry-picked from 7939cfb
  • Loading branch information
signedav committed Oct 25, 2018
1 parent 9f6198e commit caa63407bd7cbe109298e25b33d994b16eb1e8c1
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/gui/qgsfeaturelistcombobox.cpp
@@ -53,8 +53,7 @@ QgsFeatureListComboBox::QgsFeatureListComboBox( QWidget *parent )

mLineEdit = new QgsFilterLineEdit( nullptr, QgsApplication::nullRepresentation() );
mLineEdit->setSelectOnFocus( true );
//set value of combo to null if delete button is pressed
connect( mLineEdit, &QgsFilterLineEdit::cleared, this, [ = ] { if ( allowNull() ) setCurrentIndex( nullIndex() ); } );
mLineEdit->setShowClearButton( true );

setEditable( true );
setLineEdit( mLineEdit );

0 comments on commit caa6340

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