Skip to content

Commit

Permalink
expression builder: only fetch geometry when required (and available)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Mar 6, 2012
1 parent 9843384 commit 407832a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsexpressionbuilderwidget.cpp
Expand Up @@ -249,7 +249,7 @@ void QgsExpressionBuilderWidget::on_txtExpressionString_textChanged()
{
if ( !mFeature.isValid() )
{
mLayer->select( mLayer->pendingAllAttributesList() );
mLayer->select( mLayer->pendingAllAttributesList(), QgsRectangle(), mLayer->geometryType() != QGis::NoGeometry && exp.needsGeometry() );
mLayer->nextFeature( mFeature );
}

Expand Down

0 comments on commit 407832a

Please sign in to comment.