Skip to content
Permalink
Browse files

Fix test for request size vs cache size

On behalf of Faunalia, sponsored by ENEL

(cherry-picked from 38a4aac)
  • Loading branch information
nyalldawson committed Nov 23, 2016
1 parent 9c64ad2 commit 0d6c2f03f2821cc0973527b159343e8d62e0b6b0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayercache.cpp
@@ -174,7 +174,7 @@ QgsVectorLayer* QgsVectorLayerCache::layer()
void QgsVectorLayerCache::requestCompleted( const QgsFeatureRequest& featureRequest, const QgsFeatureIds& fids )
{
// If a request is too large for the cache don't notify to prevent from indexing incomplete requests
if ( fids.count() < mCache.size() )
if ( fids.count() <= mCache.size() )
{
Q_FOREACH ( QgsAbstractCacheIndex* idx, mCacheIndices )
{

0 comments on commit 0d6c2f0

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