mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
After downloading GPS data show the new information
Recreate the labels in the marble window (this adds all the new locations with the correct labels), center on the selected dive (this makes sense in case this is one of the dives that got location information) and redisplay the main tab (again, as this might now have location information). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
78cdded902
commit
9e70f556c5
1 changed files with 3 additions and 0 deletions
|
@ -336,6 +336,9 @@ void SubsurfaceWebServices::buttonClicked(QAbstractButton* button)
|
|||
/* now merge the data in the gps_location table into the dive_table */
|
||||
if (merge_locations_into_dives()) {
|
||||
mark_divelist_changed(TRUE);
|
||||
mainWindow()->globe()->repopulateLabels();
|
||||
mainWindow()->globe()->centerOn(current_dive);
|
||||
mainWindow()->information()->updateDiveInfo(selected_dive);
|
||||
}
|
||||
|
||||
/* store last entered uid in config */
|
||||
|
|
Loading…
Add table
Reference in a new issue