summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-19 15:03:53 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-19 21:17:52 -0500
commita85a219df3250e9a4c4336ea4b6f4a59f4ee9963 (patch)
treef3fb6dbf29a50db233489127b04e7eb6938e99ad /qt-ui/mainwindow.ui
parent76f3c0f028b2eb83fb8cc01cd60488f79752b799 (diff)
downloadsubsurface-a85a219df3250e9a4c4336ea4b6f4a59f4ee9963.tar.gz
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>
Diffstat (limited to 'qt-ui/mainwindow.ui')
-rw-r--r--qt-ui/mainwindow.ui6
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui
index dca59e706..52314d596 100644
--- a/qt-ui/mainwindow.ui
+++ b/qt-ui/mainwindow.ui
@@ -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>