Immediately show new locations on globe widget

When modifying or adding a dive location on the globe widget while in dive
edit or dive add mode, we now show the modified / new location right away
on the globe (assuming a location name has been given). This makes it much
easier to manually reposition a dive location.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-11-19 04:23:59 -08:00
parent 7886719443
commit e8a4420c59
2 changed files with 13 additions and 8 deletions

View file

@ -17,6 +17,7 @@ public:
using MarbleWidget::centerOn;
GlobeGPS(QWidget *parent);
void reload();
void repopulateLabels();
void centerOn(struct dive* dive);
void diveEditMode();