diff options
author | Robert C. Helling <helling@atdotde.de> | 2018-06-17 13:41:06 +0200 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2018-06-24 09:35:55 +0200 |
commit | c64e4b159f38ce4e59766a363687ad3170c04cc9 (patch) | |
tree | 3face69a5fc22a649b8bd1e8de9ee52612fd27bf /profile-widget/profilewidget2.cpp | |
parent | 2eb7c2e23f97e88ee85d56f5a9945e7959423a88 (diff) | |
download | subsurface-c64e4b159f38ce4e59766a363687ad3170c04cc9.tar.gz |
Copy divemode to Replan
this needs copying the divemode from the dive to the plan.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'profile-widget/profilewidget2.cpp')
-rw-r--r-- | profile-widget/profilewidget2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index 4f86760d1..7570e4deb 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -996,7 +996,7 @@ void ProfileWidget2::mouseDoubleClickEvent(QMouseEvent *event) int minutes = lrint(timeAxis->valueAt(mappedPos) / 60); int milimeters = lrint(profileYAxis->valueAt(mappedPos) / M_OR_FT(1, 1)) * M_OR_FT(1, 1); - plannerModel->addStop(milimeters, minutes * 60, -1, 0, true); + plannerModel->addStop(milimeters, minutes * 60, -1, 0, true, UNDEF_COMP_TYPE); } } |