mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Change the signature of constructLocationTags
We actually want to be able to pass a specific divesite structure and not have it look that up by uuid. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b96633d3e9
commit
ed78aeade0
4 changed files with 4 additions and 5 deletions
|
@ -458,7 +458,7 @@ void MainTab::updateDiveInfo(bool clear)
|
|||
|
||||
if (ds) {
|
||||
ui.location->setCurrentDiveSiteUuid(ds->uuid);
|
||||
ui.locationTags->setText(constructLocationTags(ds->uuid));
|
||||
ui.locationTags->setText(constructLocationTags(ds));
|
||||
} else {
|
||||
ui.location->clear();
|
||||
clear_dive_site(&displayed_dive_site);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue