mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
patch to fix additional problem with #2430 thanks to brushtyler
git-svn-id: http://svn.osgeo.org/qgis/trunk@13861 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
6f3384df41
commit
9c2efef7fc
@ -240,9 +240,11 @@ class Dialog(QDialog, Ui_Dialog):
|
||||
sFeat = QgsFeature()
|
||||
sGeom = QgsGeometry()
|
||||
sPoints = []
|
||||
if design == "field":
|
||||
if design == self.tr("field"):
|
||||
for (i, attr) in sProvider.fields().iteritems():
|
||||
if (unicode(numRand) == attr.name()): index = i #get input field index
|
||||
if (unicode(numRand) == attr.name()):
|
||||
index = i #get input field index
|
||||
break
|
||||
count = 10.00
|
||||
add = 60.00 / sProvider.featureCount()
|
||||
while sProvider.nextFeature(sFeat):
|
||||
|
Loading…
x
Reference in New Issue
Block a user