mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add ability to replan a dive that we planned before
When doing this, all waypoints of the calculated ascent are now waypoints in the plan - so the user has to remove the ascent part of the dive in order to really replan the dive. That's a pain, but we don't keep the data around that would tell us which waypoints are user input and which ones were calculated. Fixes #527 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
76f3c0f028
commit
a85a219df3
4 changed files with 41 additions and 7 deletions
|
@ -722,6 +722,7 @@ p, li { white-space: pre-wrap; }
|
|||
</property>
|
||||
<addaction name="actionAddDive"/>
|
||||
<addaction name="actionDivePlanner"/>
|
||||
<addaction name="actionReplanDive"/>
|
||||
<addaction name="copy"/>
|
||||
<addaction name="paste"/>
|
||||
<addaction name="separator"/>
|
||||
|
@ -1074,6 +1075,11 @@ p, li { white-space: pre-wrap; }
|
|||
<string>Configure Dive Computer</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionReplanDive">
|
||||
<property name="text">
|
||||
<string>Re-plan dive</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue