[QGIS-Developer] parameterAsEnumStrings always return default value

Andrea Giudiceandrea andreaerdna at libero.it
Fri Feb 24 08:50:29 PST 2023


Il 24/02/2023 17:37, Andrea Giudiceandrea ha scritto:
> |In addition, the parameter defaultValue should be set to a single 
> value and not to a list if ||allowMultiple is set to False.|
|... and it should be populated with the index number 
(|||||allowMultiple=False) |or a list of index numbers 
(|||||allowMultiple=True) when |||||usesStaticStrings is set to False 
and ||with the value |||(|||||allowMultiple=False) ||or a list of values 
|||(|||||allowMultiple=True) when |||||usesStaticStrings is set to True.

Andrea
||
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20230224/af31d593/attachment.htm>


More information about the QGIS-Developer mailing list