Allow expressions with geometry on value relation widget

Fix #10900
This commit is contained in:
Matthias Kuhn 2014-07-24 11:51:29 +02:00
parent e6d3c0be54
commit ae19eefb36

View File

@ -183,7 +183,7 @@ QgsValueRelationWidget::ValueRelationCache QgsValueRelationWidget::createCache(
if ( e )
{
if ( e->needsGeometry() )
flags |= QgsFeatureRequest::NoGeometry;
flags = QgsFeatureRequest::NoFlags;
Q_FOREACH( const QString& field, e->referencedColumns() )
{