aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Michael Andreen <harv@ruin.nu>2013-10-24 17:50:32 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-24 16:58:05 +0100
commit695f64a23a2b9b5caeceddf802fb1c0c29401c84 (patch)
tree06cdbd6385ecec353f181507e282782422a2e599 /qt-ui/maintab.cpp
parent89770249d0c71d6670fc61abbdca65c284dc77c2 (diff)
downloadsubsurface-695f64a23a2b9b5caeceddf802fb1c0c29401c84.tar.gz
Subject: [PATCH] No need to center on dive after editing coordinates.
This is done automatically now. Signed-off-by: Michael Andreen <harv@ruin.nu> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index d872f8fc0..8d2324382 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -428,7 +428,6 @@ void MainTab::acceptChanges()
if (notesBackup[curr].location != ui.location->text() ||
notesBackup[curr].coordinates != ui.coordinates->text()) {
mainWindow()->globe()->reload();
- mainWindow()->globe()->centerOn(current_dive);
}
if (cylindersModel->changed) {