quick typo fix

git-svn-id: http://svn.osgeo.org/qgis/trunk@14640 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
cfarmer 2010-11-14 14:20:21 +00:00
parent f084b2c772
commit 6bd3183945

View File

@ -156,12 +156,11 @@ class validateThread( QThread ):
else:
#layer = vlayer # requires SIP >= 4.9
layer = []
layer.select([]) # select all features, and ignore attributes
vlayer.select([]) # select all features, and ignore attributes
ft = QgsFeature()
while vlayer.nextFeature(ft)
layer.append(ft)
ft = QgsFeature()
nFeat = layer.featureCount()
while vlayer.nextFeature(ft):
layer.append(QgsFeature(ft))
nFeat = len(layer)
nElement = 0
if nFeat > 0:
self.emit( SIGNAL( "runStatus(PyQt_PyObject)" ), 0 )