mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
799b56a1f3
commit
9ba7b12767
2 changed files with 18 additions and 26 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue