mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Invalidate the coordinates on map change under cursor
This commit is contained in:
parent
bb71cfc426
commit
18392db8f0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user