summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2017-10-16 15:52:13 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-17 06:12:07 -0400
commit884e690049f091f43567d6bf77634463af14cd93 (patch)
tree2d59dbb2dfd458f14a4cdc8bdc9d3b3f581789ad /desktop-widgets
parentac7830ea9147d23a623eb0c80279d6a6e42c95bc (diff)
downloadsubsurface-884e690049f091f43567d6bf77634463af14cd93.tar.gz
Tags for geo references: Nicer look, translations and warning message
For the geo references tags update the following: - Nicer look w/o "Tags:" text and brackets when inside location UI - Translation for "Tags:" - Warning message when no dive site layout categories are set Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/locationinformation.cpp2
-rw-r--r--desktop-widgets/tab-widgets/maintab.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/locationinformation.cpp b/desktop-widgets/locationinformation.cpp
index b455175a2..78126b172 100644
--- a/desktop-widgets/locationinformation.cpp
+++ b/desktop-widgets/locationinformation.cpp
@@ -114,7 +114,7 @@ void LocationInformationWidget::updateLabels()
ui.diveSiteCoordinates->clear();
}
- ui.locationTags->setText(constructLocationTags(&displayed_dive_site));
+ ui.locationTags->setText(constructLocationTags(&displayed_dive_site, false));
}
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp
index 62d818183..c2a0c7e81 100644
--- a/desktop-widgets/tab-widgets/maintab.cpp
+++ b/desktop-widgets/tab-widgets/maintab.cpp
@@ -458,7 +458,7 @@ void MainTab::updateDiveInfo(bool clear)
if (ds) {
ui.location->setCurrentDiveSiteUuid(ds->uuid);
- ui.locationTags->setText(constructLocationTags(ds));
+ ui.locationTags->setText(constructLocationTags(ds, true));
} else {
ui.location->clear();
clear_dive_site(&displayed_dive_site);