Skip to content

Commit

Permalink
[processing] Fix default extent is not shown in extent widget
Browse files Browse the repository at this point in the history
Fixes #37447
  • Loading branch information
nyalldawson committed Jun 29, 2020
1 parent 1eb778e commit 62b8846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/processing/qgsprocessingwidgetwrapperimpl.cpp
Expand Up @@ -5256,7 +5256,7 @@ void QgsProcessingExtentWidgetWrapper::setWidgetValue( const QVariant &value, Qg
QgsRectangle r = QgsProcessingParameters::parameterAsExtent( parameterDefinition(), value, context );
QgsCoordinateReferenceSystem crs = QgsProcessingParameters::parameterAsPointCrs( parameterDefinition(), value, context );
mExtentWidget->setCurrentExtent( r, crs );
mExtentWidget->setOutputExtentFromCurrent();
mExtentWidget->setOutputExtentFromUser( r, crs );
}
}
}
Expand Down

0 comments on commit 62b8846

Please sign in to comment.