diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-18 19:19:56 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-18 19:19:56 -0800 |
commit | 418a345287818f9a4f1baafedbeebd4070c23872 (patch) | |
tree | 6a298667206d9a33c720be21b4b81e502488e0c4 /subsurface-core | |
parent | 9295b3aa3742ea3af4427de831af58ed2a268c9b (diff) | |
download | subsurface-418a345287818f9a4f1baafedbeebd4070c23872.tar.gz |
Location service: when applying GPS locations mark divelist changed
Lubomir pointed out that this variable was unused. Oops.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core')
-rw-r--r-- | subsurface-core/gpslocation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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() |