mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
expression builder: only fetch geometry when required (and available)
This commit is contained in:
parent
9843384a76
commit
407832a9c7
@ -249,7 +249,7 @@ void QgsExpressionBuilderWidget::on_txtExpressionString_textChanged()
|
|||||||
{
|
{
|
||||||
if ( !mFeature.isValid() )
|
if ( !mFeature.isValid() )
|
||||||
{
|
{
|
||||||
mLayer->select( mLayer->pendingAllAttributesList() );
|
mLayer->select( mLayer->pendingAllAttributesList(), QgsRectangle(), mLayer->geometryType() != QGis::NoGeometry && exp.needsGeometry() );
|
||||||
mLayer->nextFeature( mFeature );
|
mLayer->nextFeature( mFeature );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user