diff --git a/src/app/gps/qgsgpsinformationwidget.cpp b/src/app/gps/qgsgpsinformationwidget.cpp index ddb9f84e389..9b7b9ca5189 100644 --- a/src/app/gps/qgsgpsinformationwidget.cpp +++ b/src/app/gps/qgsgpsinformationwidget.cpp @@ -1514,6 +1514,9 @@ void QgsGpsInformationWidget::timestampFormatChanged( int ) void QgsGpsInformationWidget::cursorCoordinateChanged( const QgsPointXY &point ) { + if ( !mNmea ) + return; + try { mLastCursorPosWgs84 = mCanvasToWgs84Transform.transform( point );