mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
quick typo fix
git-svn-id: http://svn.osgeo.org/qgis/trunk@14640 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
f084b2c772
commit
6bd3183945
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user