1
0
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:
Martin Tůma 2016-03-23 20:49:40 +01:00
parent 7cd005873d
commit ac93ccba29

View File

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