mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
Avoid unnecessary transforms caused by disconnected GPS widget
This commit is contained in:
parent
b250063076
commit
326917f1ce
@ -1514,6 +1514,9 @@ void QgsGpsInformationWidget::timestampFormatChanged( int )
|
||||
|
||||
void QgsGpsInformationWidget::cursorCoordinateChanged( const QgsPointXY &point )
|
||||
{
|
||||
if ( !mNmea )
|
||||
return;
|
||||
|
||||
try
|
||||
{
|
||||
mLastCursorPosWgs84 = mCanvasToWgs84Transform.transform( point );
|
||||
|
Loading…
x
Reference in New Issue
Block a user