Skip to content

Commit ae44e7b

Browse files
author
alexander.bruy@gmail.com
committedAug 2, 2012
fix missed module name
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@330 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
1 parent 3d71aff commit ae44e7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/sextante/gui/ParametersPanel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,9 @@ def updateDependentFields(self):
278278
def getFields(self, layer, datatype):
279279
fieldTypes = []
280280
if datatype == ParameterTableField.DATA_TYPE_STRING:
281-
fieldTypes = [QVariant.String]
281+
fieldTypes = [QtCore.QVariant.String]
282282
elif datatype == ParameterTableField.DATA_TYPE_NUMBER:
283-
fieldTypes = [QVariant.Int, QVariant.Double]
283+
fieldTypes = [QtCore.QVariant.Int, QtCore.QVariant.Double]
284284

285285
fieldNames = []
286286
fieldMap = layer.pendingFields()

0 commit comments

Comments
 (0)
Please sign in to comment.