Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update qgsprojectionselectionwidget.cpp
  • Loading branch information
3nids committed May 25, 2018
1 parent caac47e commit 6d66375
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/gui/qgsprojectionselectionwidget.cpp
Expand Up @@ -256,9 +256,11 @@ void QgsProjectionSelectionWidget::setCrs( const QgsCoordinateReferenceSystem &c
currentCrsOptionText( crs ) );
}
}
mCrs = crs;

emit crsChanged( crs );
if ( mCrs != crs )
{
mCrs = crs;
emit crsChanged( crs );
}
}

void QgsProjectionSelectionWidget::setLayerCrs( const QgsCoordinateReferenceSystem &crs )
Expand Down

0 comments on commit 6d66375

Please sign in to comment.