mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Notes pane: move the location taxonomy to a better spot
And display it smaller, marked as "tags". Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b42bae2ce8
commit
80f26912b0
2 changed files with 24 additions and 15 deletions
|
@ -501,6 +501,7 @@ void MainTab::updateDiveInfo(bool clear)
|
|||
// construct the location tags
|
||||
QString locationTag;
|
||||
if (ds->taxonomy.nr) {
|
||||
locationTag = "<small><small>(tags: ";
|
||||
QString connector = "";
|
||||
for (int i = 0; i < 3; i++) {
|
||||
qDebug() << "looking for category" << prefs.geocoding.category[i];
|
||||
|
@ -513,6 +514,7 @@ void MainTab::updateDiveInfo(bool clear)
|
|||
}
|
||||
}
|
||||
}
|
||||
locationTag += ")</small></small>";
|
||||
}
|
||||
ui.location->setText(ds->name);
|
||||
ui.locationTags->setText(locationTag);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue