Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6d66375

Browse files
authoredMay 25, 2018
Update qgsprojectionselectionwidget.cpp
1 parent caac47e commit 6d66375

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
 

‎src/gui/qgsprojectionselectionwidget.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,11 @@ void QgsProjectionSelectionWidget::setCrs( const QgsCoordinateReferenceSystem &c
256256
currentCrsOptionText( crs ) );
257257
}
258258
}
259-
mCrs = crs;
260-
261-
emit crsChanged( crs );
259+
if ( mCrs != crs )
260+
{
261+
mCrs = crs;
262+
emit crsChanged( crs );
263+
}
262264
}
263265

264266
void QgsProjectionSelectionWidget::setLayerCrs( const QgsCoordinateReferenceSystem &crs )

0 commit comments

Comments
 (0)
Please sign in to comment.