diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-19 17:32:17 +1200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-19 17:38:17 +1200 |
commit | df46b85ee1cc7a33fe35e69c19345a59c966fa41 (patch) | |
tree | 88951ed5fdb90ca23db73afe181a0279e79fbf2a /qt-ui/mainwindow.cpp | |
parent | 83018619d6f22efda3a98742598670d7bd76482b (diff) | |
download | subsurface-df46b85ee1cc7a33fe35e69c19345a59c966fa41.tar.gz |
Don't just change the location when double clicking on the globe
Instead be consistent with other parts of the code and put us in editing
mode so the user can accept / reject the change.
See #800
Fixes #801
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 8835bb8e3..5d5a442f4 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -96,6 +96,8 @@ MainWindow::MainWindow() : QMainWindow(), #ifdef NO_MARBLE ui.globePane->hide(); ui.menuView->removeAction(ui.actionViewGlobe); +#else + connect(ui.globe, SIGNAL(coordinatesChanged()), ui.InfoWidget, SLOT(updateGpsCoordinates())); #endif #ifdef NO_USERMANUAL ui.menuHelp->removeAction(ui.actionUserManual); |