summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/diveplanner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index a5a8ca2f4..dc0b34617 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -637,8 +637,8 @@ void DivePlannerGraphics::mouseReleaseEvent(QMouseEvent* event)
int pos = handles.indexOf(activeDraggedHandler);
divedatapoint data = plannerModel->at(pos);
- data.depth = rint(depthLine->valueAt(mappedPos));
- data.time = rint(timeLine->valueAt(mappedPos));
+ data.depth = rint(depthLine->valueAt(mappedPos)) * 1000;
+ data.time = rint(timeLine->valueAt(mappedPos)) * 60;
plannerModel->editStop(pos, data);