From 884e690049f091f43567d6bf77634463af14cd93 Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Mon, 16 Oct 2017 15:52:13 +0200 Subject: 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 --- desktop-widgets/tab-widgets/maintab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop-widgets/tab-widgets') 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); -- cgit v1.2.3-70-g09d2