summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-09 14:34:37 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-09 14:34:37 -0700
commite19fa0a9f325bdf6750376130f89a15df64875f4 (patch)
tree3581a9807a3dbaa8a0fc0b4d46bbcec7173aaf2a /qt-ui
parent53806c265c9ed1b60f7591d9250dfab76fb5d8e6 (diff)
downloadsubsurface-e19fa0a9f325bdf6750376130f89a15df64875f4.tar.gz
Subsurface GPS webservice: make sure dive log is marked as modified
One of the cases was missing. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/subsurfacewebservices.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp
index 1ea1a8f2f..12531f6b3 100644
--- a/qt-ui/subsurfacewebservices.cpp
+++ b/qt-ui/subsurfacewebservices.cpp
@@ -85,6 +85,7 @@ static bool merge_locations_into_dives(void)
*/
if ((dive->when + dive->duration.seconds - gpsfix->when) < (nextgpsfix->when - gpsfix->when)) {
copy_gps_location(gpsfix, dive);
+ changed++;
tracer = j;
break;
}