summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-10-07 20:00:22 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-08 06:28:45 +0100
commitef2765d0c4fe94fef1771390ff1d22d2895d295a (patch)
tree2b10d7c1765a049ff1706d424c7df1766513a15a
parent2eed9c0b9b56a507cfeb6f387176f675643dd436 (diff)
downloadsubsurface-ef2765d0c4fe94fef1771390ff1d22d2895d295a.tar.gz
Update UI on dive site widget when retrieving taxonomy
[Dirk Hohndel: slightly refactored this commit and the previous one to make the code actually work and make the split across the two commits more reasonable] Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/locationinformation.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp
index 5807266fd..a99740cc7 100644
--- a/qt-ui/locationinformation.cpp
+++ b/qt-ui/locationinformation.cpp
@@ -109,6 +109,9 @@ void LocationInformationWidget::updateLabels()
} else {
ui.diveSiteCoordinates->clear();
}
+
+ ui.locationTags->setText(constructLocationTags(displayed_dive_site.uuid));
+
emit startFilterDiveSite(displayed_dive_site.uuid);
emit startEditDiveSite(displayed_dive_site.uuid);
}