Skip to content
Permalink
Browse files

[processing] Fix default extent is not shown in extent widget

Fixes #37447
  • Loading branch information
nyalldawson committed Jun 29, 2020
1 parent 1eb778e commit 62b88463ccc49908470dc9321e6b09518838a877
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/processing/qgsprocessingwidgetwrapperimpl.cpp
@@ -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 );
}
}
}

0 comments on commit 62b8846

Please sign in to comment.
You can’t perform that action at this time.