Skip to content

Commit

Permalink
fix loading <=1.3 version QSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Feb 8, 2018
1 parent b711a94 commit 7724e49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Discovery/discoveryplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ def bbox_str_to_rectangle(bbox_str):
return None

def delete_config_from_settings(key, settings):
print("deleteing key:" + str(key))
settings.remove(key + "connection")
settings.remove(key + "schema")
settings.remove(key + "table")
Expand Down Expand Up @@ -152,7 +151,7 @@ def initGui(self):
if config_list:
for conf in config_list:
self.config_combo.addItem(conf)
else:
elif settings.childGroups():
# support for prev version
key = "Config1"
config_list = []
Expand Down
2 changes: 1 addition & 1 deletion Discovery/metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name=Discovery
qgisMinimumVersion=2.0
description=Provides search / gazetteer functionality in QGIS using PostGIS-based data
version=1.4.0
version=1.4.1
author=Lutra Consulting
[email protected]
homepage=http://www.lutraconsulting.co.uk/products/discovery/
Expand Down

0 comments on commit 7724e49

Please sign in to comment.