Skip to content
Permalink
Browse files
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 16a05d3fe41bdbb7835349a5a819714ab5f111f6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/processing/qgsprocessingparametermeshdataset.cpp
@@ -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;

0 comments on commit 16a05d3

Please sign in to comment.