Skip to content

Commit

Permalink
Write to project join memory cache property instead of cachedAttribut…
Browse files Browse the repository at this point in the history
…es.isEmpty
  • Loading branch information
arnaud-morvan committed May 21, 2015
1 parent e8587c3 commit cb4d518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayerjoinbuffer.cpp
Expand Up @@ -281,7 +281,7 @@ void QgsVectorLayerJoinBuffer::writeXml( QDomNode& layer_node, QDomDocument& doc
else
joinElem.setAttribute( "joinFieldName", joinIt->joinFieldName );

joinElem.setAttribute( "memoryCache", !joinIt->cachedAttributes.isEmpty() );
joinElem.setAttribute( "memoryCache", joinIt->memoryCache );

if ( joinIt->joinFieldNamesSubset() )
{
Expand Down

0 comments on commit cb4d518

Please sign in to comment.