We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1777769 commit 9f6198eCopy full SHA for 9f6198e
src/gui/qgsfeaturelistcombobox.cpp
@@ -51,7 +51,7 @@ QgsFeatureListComboBox::QgsFeatureListComboBox( QWidget *parent )
51
52
connect( this, static_cast<void( QgsFeatureListComboBox::* )( int )>( &QgsFeatureListComboBox::currentIndexChanged ), this, &QgsFeatureListComboBox::onCurrentIndexChanged );
53
54
- mLineEdit = new QgsFilterLineEdit();
+ mLineEdit = new QgsFilterLineEdit( nullptr, QgsApplication::nullRepresentation() );
55
mLineEdit->setSelectOnFocus( true );
56
//set value of combo to null if delete button is pressed
57
connect( mLineEdit, &QgsFilterLineEdit::cleared, this, [ = ] { if ( allowNull() ) setCurrentIndex( nullIndex() ); } );
0 commit comments