summaryrefslogtreecommitdiffstats
path: root/qt-ui/globe.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-19 04:23:59 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-19 04:28:15 -0800
commite8a4420c59300554ee29af29834b6dcde4f8139a (patch)
treea5e9698a537834937fe0eb02c69f643f35450da6 /qt-ui/globe.h
parent788671944346c75dcf3562e4703928bca9b26600 (diff)
downloadsubsurface-e8a4420c59300554ee29af29834b6dcde4f8139a.tar.gz
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>
Diffstat (limited to 'qt-ui/globe.h')
-rw-r--r--qt-ui/globe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/globe.h b/qt-ui/globe.h
index b04ff9266..c44e9b591 100644
--- a/qt-ui/globe.h
+++ b/qt-ui/globe.h
@@ -17,6 +17,7 @@ public:
using MarbleWidget::centerOn;
GlobeGPS(QWidget *parent);
void reload();
+ void repopulateLabels();
void centerOn(struct dive* dive);
void diveEditMode();