Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Avoid unnecessary transforms caused by disconnected GPS widget
(cherry picked from commit 326917f)
  • Loading branch information
nyalldawson committed Apr 30, 2020
1 parent 49eb964 commit d08cbe8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/gps/qgsgpsinformationwidget.cpp
Expand Up @@ -1514,6 +1514,9 @@ void QgsGpsInformationWidget::timestampFormatChanged( int )

void QgsGpsInformationWidget::cursorCoordinateChanged( const QgsPointXY &point )
{
if ( !mNmea )
return;

try
{
mLastCursorPosWgs84 = mCanvasToWgs84Transform.transform( point );
Expand Down

0 comments on commit d08cbe8

Please sign in to comment.