Location management: reflect changes to the coordinates on the map

This is a bit aggressive as it changes the globe with every single
character that's entered, but it's better than what we had before.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-05-22 12:15:53 -07:00
parent b342730ec9
commit d4b5854f82
5 changed files with 8 additions and 1 deletions

View file

@ -231,6 +231,7 @@ void GlobeGPS::repopulateLabels()
}
}
model()->treeModel()->addDocument(loadedDives);
centerOn(displayed_dive_site.longitude.udeg / 1000000.0, displayed_dive_site.latitude.udeg / 1000000.0, true);
}
void GlobeGPS::reload()