Is there a simple way, how to override a maximum number of displayed features in QgsFeatureListComboBox? It seems that there is a hardcoded limit set to 100 features (in QgsFeatureFilterModel).

QgsFeatureListComboBox fits my needs almost perfectly except that limit. In most cases, there is small number of features to show. But sometimes, I have little over 100 features.

1 Answer 1


I seem that this issue was resolved in QGIS 3.6. Now it is possible to control the maximum number of loaded features through maxEntriesRelationWidget key in gui global setting. For example in python code:

QgsSettings().setValue('gui/maxEntriesRelationWidget', '200')

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.