Skip to content
Permalink
Browse files

Address PR #36963 comments

  • Loading branch information
elpaso authored and nyalldawson committed Jun 4, 2020
1 parent 5aecd49 commit 2dae5864cf88dcba79b94efe38e9e868f8befe98
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayerfeatureiterator.cpp
@@ -1015,7 +1015,7 @@ void QgsVectorLayerFeatureIterator::FetchJoinInfo::addJoinedAttributesCached( Qg
void QgsVectorLayerFeatureIterator::FetchJoinInfo::addJoinedAttributesDirect( QgsFeature &f, const QVariant &joinValue ) const
{
// Shortcut
if ( joinLayer && joinLayer->featureCount() < 1 )
if ( joinLayer && ! joinLayer->hasFeatures() )
{
return;
}

0 comments on commit 2dae586

Please sign in to comment.
You can’t perform that action at this time.