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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user