summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--profile-widget/diveprofileitem.cpp2
1 files changed, 1 insertions, 1 deletions
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