summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2013-11-01 11:48:34 -0400
committerGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2013-11-01 11:48:34 -0400
commitf7cd3e780cdc77180ce279c95322de2095192657 (patch)
tree30be9f9d9071be59f74e60fb55c3f67b70f909a4 /qt-ui/diveplanner.h
parentd9afcdc8cb0239d07b0578bbe2b4e4efe87c5958 (diff)
downloadsubsurface-f7cd3e780cdc77180ce279c95322de2095192657.tar.gz
Enable editing a dive that was manually entered.
This patch enables editing a dive that was manually entered, it doesn't cover dive plans yet because on the plan I need to figure out what are the 'user-entered' points, and what are the algorithm point. and I feel lazy. =p One last thing that's missing is to revert the dive to the previous condition if the user cancels the edition, currently canceling and applying ok is the same thing. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index acb36e63e..90859abe9 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -54,6 +54,7 @@ public slots:
void cancelPlan();
void createTemporaryPlan();
void deleteTemporaryPlan();
+ void loadFromDive(dive* d);
signals:
void planCreated();