Skip to content

Commit

Permalink
fix: change field type definition to one recognized by older QGIS ver…
Browse files Browse the repository at this point in the history
…sions
  • Loading branch information
nmaarnio committed Sep 18, 2024
1 parent 30b1a9d commit e03277e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from qgis.core import QgsProcessingParameterFeatureSource, QgsProcessingParameterField
from qgis.gui import Qgis

from eis_qgis_plugin.processing.eis_processing_algorithm import EISProcessingAlgorithm

Expand Down Expand Up @@ -40,7 +39,7 @@ def initAlgorithm(self, config=None):
name=self.alg_parameters[1],
description="Column",
parentLayerParameterName=self.alg_parameters[0],
type=Qgis.ProcessingFieldParameterDataType.Numeric
type=QgsProcessingParameterField.Numeric,
)
column_param.setHelp("Column in vector data to compute descriptive statistics from.")
self.addParameter(column_param)

0 comments on commit e03277e

Please sign in to comment.