diff --git a/profile-widget/diveprofileitem.cpp b/profile-widget/diveprofileitem.cpp index aa529364c..00e6e0eed 100644 --- a/profile-widget/diveprofileitem.cpp +++ b/profile-widget/diveprofileitem.cpp @@ -548,7 +548,7 @@ void DiveGasPressureItem::replot(const dive *d, bool in_planner) boundingPoly.push_back(point); QColor color; - if (in_planner) { + if (!in_planner) { if (entry->sac) color = getSacColor(entry->sac, d->sac); else