Skip to content
Permalink
Browse files
expression builder: only fetch geometry when required (and available)
  • Loading branch information
jef-n committed Mar 6, 2012
1 parent 9843384 commit 407832a9c72f6e6e1ef155c74ac6108d1ac61bd6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsexpressionbuilderwidget.cpp
@@ -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 );
}

0 comments on commit 407832a

Please sign in to comment.