Skip to content
Permalink
Browse files

Fix test for request size vs cache size

On behalf of Faunalia, sponsored by ENEL
  • Loading branch information
nyalldawson committed Nov 15, 2016
1 parent 8908eea commit 38a4aac97117d81d11beb96f7b15fe25ff1ea6d4
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 38a4aac

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