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

@ -133,6 +133,7 @@ MainWindow::MainWindow() : QMainWindow(),
connect(mainTab, SIGNAL(requestDiveSiteEdit(uint32_t)), this, SLOT(enableDiveSiteEdit(uint32_t)));
connect(locationInformation, SIGNAL(informationManagementEnded()), this, SLOT(setDefaultState()));
connect(locationInformation, SIGNAL(informationManagementEnded()), information(), SLOT(showLocation()));
connect(locationInformation, SIGNAL(coordinatesChanged()), globe(), SLOT(repopulateLabels()));
#ifdef NO_PRINTING
plannerDetails->printPlan()->hide();