Profile: call clearHandlers() in setAddState()
Points (handles) from the last dive ADD operation remain on the profile unless we clear them. fixes #846 Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
da2d5b5ee1
commit
57374fb9f0
@ -1069,6 +1069,7 @@ void ProfileWidget2::setAddState()
|
||||
if (currentState == ADD)
|
||||
return;
|
||||
|
||||
clearHandlers();
|
||||
setProfileState();
|
||||
mouseFollowerHorizontal->setVisible(true);
|
||||
mouseFollowerVertical->setVisible(true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user