Skip to content
Permalink
Browse files

remove connection to lineeditcleared, because of already correct null…

… value implementation there
  • Loading branch information
signedav committed Oct 25, 2018
1 parent e37f1d1 commit 7939cfb5570e771004bf8ce9f034d450f99f6bce
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 7939cfb

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