Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update src/core/processing/qgsprocessingparametermeshdataset.cpp
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
vcloarec and nyalldawson committed Jun 10, 2021
1 parent a1ec458 commit 16a05d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/processing/qgsprocessingparametermeshdataset.cpp
Expand Up @@ -123,7 +123,7 @@ QList<int> QgsProcessingParameterMeshDatasetGroups::valueAsDatasetGroup( const Q
{
if ( value.type() == QVariant::List )
{
//here we can't use QgsProcessingParameters::parameterAsInts() because this method return empry list when first value is 0...
//here we can't use QgsProcessingParameters::parameterAsInts() because this method return empty list when first value is 0...
const QVariantList varList = value.toList();
if ( varList.isEmpty() )
ret << 0;
Expand Down

0 comments on commit 16a05d3

Please sign in to comment.