Skip to content

Commit 9f6198e

Browse files
committed
pass nullRepresentation to QgsFilterLineEdit
cherry-picked from e37f1d1
1 parent 1777769 commit 9f6198e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgsfeaturelistcombobox.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ QgsFeatureListComboBox::QgsFeatureListComboBox( QWidget *parent )
5151

5252
connect( this, static_cast<void( QgsFeatureListComboBox::* )( int )>( &QgsFeatureListComboBox::currentIndexChanged ), this, &QgsFeatureListComboBox::onCurrentIndexChanged );
5353

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

0 commit comments

Comments
 (0)