Create a new dive site and edit it automatically

If the user clicks on the first or second option of the drop
down list, subsurface will move him to the dive site edit panel
automatically, since it's a new dive site and there's no information
about it yet.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-08-25 21:03:20 -03:00 committed by Dirk Hohndel
parent 0ba832ef12
commit fc6d819616
4 changed files with 18 additions and 8 deletions

View file

@ -7,6 +7,8 @@
class QLineEdit;
#define RECENTLY_ADDED_DIVESITE 1
class LocationInformationModel : public QAbstractTableModel {
Q_OBJECT
public: