1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 14:53:21 +02:00

Fixed scene bounding rect reset

This commit is contained in:
Martin Tůma 2017-01-22 22:53:38 +01:00
parent b2a49eaa23
commit e420602c69

View File

@ -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)