mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-27 21:24:47 +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;
|
||||
|
||||
|
||||
if (track.size() < 2)
|
||||
if (track.size() < 2) {
|
||||
_palette.color();
|
||||
return;
|
||||
}
|
||||
|
||||
_tracks.append(track);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user