Prevent nodes in planner / dive add profile edit to run past each other

I always disliked the fact that when you moved the handlers around you
could just 'run over' the neighbors. This also (as a somewhat intended
side effect) prevents vertical descents and ascents).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-09-22 11:01:18 -07:00
parent 799b56a1f3
commit 9ba7b12767
2 changed files with 18 additions and 26 deletions

View file

@ -42,6 +42,7 @@ public:
*/
void editStop(int row, divedatapoint newData );
divedatapoint at(int row);
int size();
struct diveplan getDiveplan();
public slots:
int addStop(int meters = 0, int minutes = 0,const QString& gas = QString(), int ccpoint = 0 );