aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/maintab.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 07e1d9749..b9b5d0ab7 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -11,6 +11,7 @@
#include "../statistics.h"
#include "divelistview.h"
#include "modeldelegates.h"
+#include "globe.h"
#include <QLabel>
#include <QDebug>
@@ -329,6 +330,8 @@ void MainTab::on_editAccept_clicked(bool edit)
notesBackup.visibility != ui->visibility->currentStars() ||
notesBackup.rating != ui->rating->currentStars())
mark_divelist_changed(TRUE);
+ if (notesBackup.location != ui->location->text())
+ mainWindow()->globe()->reload();
}
}