mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Fixed scene bounding rect reset
This commit is contained in:
parent
b2a49eaa23
commit
e420602c69
@ -536,7 +536,7 @@ void PathView::clear()
|
|||||||
_tr = QRectF(); _rr = QRectF(); _wr = QRectF();
|
_tr = QRectF(); _rr = QRectF(); _wr = QRectF();
|
||||||
_wp = QPointF();
|
_wp = QPointF();
|
||||||
|
|
||||||
_scene->setSceneRect(QRectF());
|
_scene->setSceneRect(scaled(mapBounds(), 1.0 / mapScale(_zoom)));
|
||||||
}
|
}
|
||||||
|
|
||||||
void PathView::showTracks(bool show)
|
void PathView::showTracks(bool show)
|
||||||
|
Loading…
Reference in New Issue
Block a user