summaryrefslogtreecommitdiffstats
path: root/qt-models/diveplannermodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/diveplannermodel.cpp')
-rw-r--r--qt-models/diveplannermodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp
index 8efb3473c..31c98bac7 100644
--- a/qt-models/diveplannermodel.cpp
+++ b/qt-models/diveplannermodel.cpp
@@ -659,7 +659,7 @@ void DivePlannerPointsModel::setStartTime(const QTime &t)
bool divePointsLessThan(const divedatapoint &p1, const divedatapoint &p2)
{
- return p1.time <= p2.time;
+ return p1.time < p2.time;
}
int DivePlannerPointsModel::lastEnteredPoint()