mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Fixed track color skew on empty tracks
This commit is contained in:
parent
7cd005873d
commit
ac93ccba29
@ -50,8 +50,10 @@ void TrackView::addTrack(const QVector<QPointF> &track)
|
|||||||
MarkerItem *mi;
|
MarkerItem *mi;
|
||||||
|
|
||||||
|
|
||||||
if (track.size() < 2)
|
if (track.size() < 2) {
|
||||||
|
_palette.color();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
_tracks.append(track);
|
_tracks.append(track);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user