From: javiplx Date: Sat, 14 May 2011 19:27:34 +0000 (+0000) Subject: BUGFIX : store current GPS only if not using mapper, even in case that configuration... X-Git-Tag: hildon-wrapped~5 X-Git-Url: http://vcs.maemo.org/git/?p=wifihood;a=commitdiff_plain;h=a89fe09238593da1ae07809f25f4a39052c2ba25 BUGFIX : store current GPS only if not using mapper, even in case that configuration was changed after starting (continues r172) git-svn-id: file:///svnroot/wifihood/trunk@173 c51dfc6a-5949-4919-9c8e-f207a149c383 --- diff --git a/wifiscanner/wifimap/config.py b/wifiscanner/wifimap/config.py index 35d9538..22a4405 100644 --- a/wifiscanner/wifimap/config.py +++ b/wifiscanner/wifimap/config.py @@ -28,7 +28,6 @@ class Configuration : self.use_mapper = client.get_bool( "/apps/wifihood/use-mapper" ) self.store_gps = client.get_bool( "/apps/wifihood/store-gps" ) if self.use_mapper : - # FIXME : This will reset the stored default self.lat = client.get_float( "/apps/maemo/maemo-mapper/center_latitude" ) self.lon = client.get_float( "/apps/maemo/maemo-mapper/center_longitude" ) self.zoom = client.get_int( "/apps/maemo/maemo-mapper/zoom" )