From 418a345287818f9a4f1baafedbeebd4070c23872 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 18 Nov 2015 19:19:56 -0800 Subject: Location service: when applying GPS locations mark divelist changed Lubomir pointed out that this variable was unused. Oops. Signed-off-by: Dirk Hohndel --- subsurface-core/gpslocation.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'subsurface-core') diff --git a/subsurface-core/gpslocation.cpp b/subsurface-core/gpslocation.cpp index 2445c604d..412bf95ad 100644 --- a/subsurface-core/gpslocation.cpp +++ b/subsurface-core/gpslocation.cpp @@ -259,6 +259,8 @@ bool GpsLocation::applyLocations() } } + if (changed) + mark_divelist_changed(true); } void GpsLocation::clearGpsData() -- cgit v1.2.3-70-g09d2