diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-08-25 21:03:20 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-25 18:00:15 -0700 |
commit | fc6d819616b69f7c69dc8743bc25aa8ad51708a4 (patch) | |
tree | 04df3ed15e35816c95f4190e01a9f2e827b8bfa4 /qt-ui/maintab.cpp | |
parent | 0ba832ef12382939ef93bb5d7f81b63c9deb7e5d (diff) | |
download | subsurface-fc6d819616b69f7c69dc8743bc25aa8ad51708a4.tar.gz |
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>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r-- | qt-ui/maintab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 960b7edf8..82ab7c7e7 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -868,7 +868,7 @@ void MainTab::updateDisplayedDiveSite() if(orig_uuid) { if (new_uuid && orig_uuid != new_uuid) { // the user picked a different site - qDebug() << "copy the dive site we picked into the displayed dive site"; + qDebug() << "copy the dive site we picked into the displayed dive site, id: " << new_uuid; displayed_dive.dive_site_uuid = new_uuid; copy_dive_site(get_dive_site_by_uuid(displayed_dive.dive_site_uuid), &displayed_dive_site); } else if (!new_name.isEmpty() && orig_name != new_name) { |