Followup 19a833c, fix data defined composition evaluation

Thanks to Coverity!
This commit is contained in:
Nyall Dawson 2015-08-16 16:28:13 +10:00
parent 6703fd32a5
commit 371e124f4d

View File

@ -3086,6 +3086,7 @@ bool QgsComposition::dataDefinedEvaluate( QgsComposerObject::DataDefinedProperty
} }
if ( mAtlasMode != QgsComposition::AtlasOff ) if ( mAtlasMode != QgsComposition::AtlasOff )
{ {
useFeature = true;
currentFeature = mAtlasComposition.feature(); currentFeature = mAtlasComposition.feature();
} }
} }