summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/divelist.c2
-rw-r--r--core/divesitehelpers.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/divelist.c b/core/divelist.c
index 635fa0b6e..8881aceeb 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -20,6 +20,8 @@
#include "git-access.h"
#include "table.h"
+/* This flag is set to true by operations that are not implemented in the
+ * undo system. It is therefore only cleared on save and load. */
static bool dive_list_changed = false;
bool autogroup = false;
diff --git a/core/divesitehelpers.cpp b/core/divesitehelpers.cpp
index 10aab071b..6093c890c 100644
--- a/core/divesitehelpers.cpp
+++ b/core/divesitehelpers.cpp
@@ -108,7 +108,6 @@ void reverseGeoLookup(degrees_t latitude, degrees_t longitude, taxonomy_data *ta
taxonomy->category[ri].category = TC_ADMIN_L3;
taxonomy->nr++;
}
- mark_divelist_changed(true);
} else {
report_error("geonames.org did not provide reverse lookup information");
qDebug() << "no reverse geo lookup; geonames returned\n" << fullReply;
@@ -157,7 +156,6 @@ void reverseGeoLookup(degrees_t latitude, degrees_t longitude, taxonomy_data *ta
if (idx == taxonomy->nr)
taxonomy->nr++;
}
- mark_divelist_changed(true);
}
} else {
report_error("timeout accessing geonames.org");