Update UI on dive site widget when retrieving taxonomy

[Dirk Hohndel: slightly refactored this commit and the previous one to
               make the code actually work and make the split across the
               two commits more reasonable]

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-10-07 20:00:22 -03:00 committed by Dirk Hohndel
parent 2eed9c0b9b
commit ef2765d0c4

View file

@ -109,6 +109,9 @@ void LocationInformationWidget::updateLabels()
} else {
ui.diveSiteCoordinates->clear();
}
ui.locationTags->setText(constructLocationTags(displayed_dive_site.uuid));
emit startFilterDiveSite(displayed_dive_site.uuid);
emit startEditDiveSite(displayed_dive_site.uuid);
}