From: "Lubomir I. Ivanov" <[email protected]> Points (handles) from the last dive ADD operation remain on the profile unless we clear them.
fixes #846 Signed-off-by: Lubomir I. Ivanov <[email protected]> --- hopefully... --- qt-ui/profile/profilewidget2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index 90ecb94..e314c33 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -1069,6 +1069,7 @@ void ProfileWidget2::setAddState() if (currentState == ADD) return; + clearHandlers(); setProfileState(); mouseFollowerHorizontal->setVisible(true); mouseFollowerVertical->setVisible(true); -- 1.7.11.msysgit.0 _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
