Skip to content

Commit

Permalink
QgsProcessingCrsWidgetWrapper::createWidget(): make it obvious we won…
Browse files Browse the repository at this point in the history
…'t double allocate mProjectionSelectionWidget
  • Loading branch information
rouault committed Jun 2, 2020
1 parent 175d368 commit 0a0b372
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/processing/qgsprocessingwidgetwrapperimpl.cpp
Expand Up @@ -275,6 +275,7 @@ QgsProcessingCrsWidgetWrapper::QgsProcessingCrsWidgetWrapper( const QgsProcessin

QWidget *QgsProcessingCrsWidgetWrapper::createWidget()
{
Q_ASSERT( mProjectionSelectionWidget == nullptr );
mProjectionSelectionWidget = new QgsProjectionSelectionWidget();
mProjectionSelectionWidget->setToolTip( parameterDefinition()->toolTip() );

Expand Down

0 comments on commit 0a0b372

Please sign in to comment.