Skip to content

Commit

Permalink
Fix range param
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jun 22, 2021
1 parent 357177d commit b3f013b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/processing/qgsprocessingwidgetwrapperimpl.cpp
Expand Up @@ -1342,7 +1342,7 @@ QgsProcessingParameterDefinition *QgsProcessingRangeParameterDefinitionWidget::c
else
{
bool ok;
defaultValue = QgsDoubleValidator::toDouble( mMinLineEdit->text(), &ok );
defaultValue = QString::number( QgsDoubleValidator::toDouble( mMinLineEdit->text(), &ok ) );
if ( ! ok )
{
defaultValue = QStringLiteral( "None" );
Expand Down

0 comments on commit b3f013b

Please sign in to comment.