mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-06-27 11:39:16 +02:00
Invalidate the coordinates on map change under cursor
This commit is contained in:
@ -102,8 +102,7 @@ void MapView::centerOn(const QPointF &pos)
|
||||
QRectF vr(mapToScene(viewport()->rect()).boundingRect());
|
||||
_res = _map->resolution(vr);
|
||||
_mapScale->setResolution(_res);
|
||||
if (_coordinates->isVisible() && underMouse())
|
||||
_coordinates->setCoordinates(_map->xy2ll(pos));
|
||||
_coordinates->setCoordinates(Coordinates());
|
||||
}
|
||||
|
||||
PathItem *MapView::addTrack(const Track &track)
|
||||
|
Reference in New Issue
Block a user