We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 0858652 commit 1648c79Copy full SHA for 1648c79
python/plugins/processing/core/parameters.py
@@ -144,7 +144,7 @@ def getParameterFromString(s):
144
params[5] = True if params[5].lower() == 'true' else False
145
elif clazz == QgsProcessingParameterNumber:
146
if len(params) > 2:
147
- params[2] = QgsProcessingParameterNumber.Integer if params[2].lower().endswith('int') else QgsProcessingParameterNumber.Double
+ params[2] = QgsProcessingParameterNumber.Integer if params[2].lower().endswith('integer') else QgsProcessingParameterNumber.Double
148
if len(params) > 3:
149
params[3] = float(params[3].strip()) if params[3] is not None else None
150
if len(params) > 4:
0 commit comments