Set the correct dive site uuid

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-09-23 16:11:35 -03:00 committed by Dirk Hohndel
parent 5b3d52acec
commit cc6967b53c

View file

@ -810,8 +810,7 @@ void MainTab::updateDisplayedDiveSite()
const QString new_name = ui.location->text();
const QString orig_name = displayed_dive_site.name;
const uint32_t orig_uuid = displayed_dive_site.uuid;
//TODO: FIX THIS
const uint32_t new_uuid = orig_uuid;
const uint32_t new_uuid = ui.location->currDiveSiteUuid();
qDebug() << "Updating Displayed Dive Site";