Skip to content

Commit

Permalink
fix setting manager api
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Dec 8, 2020
1 parent e81d4f9 commit 18084d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swiss_locator/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self):
# possible values are de, fr, it , rm, en
# if left empty or NULL, try to use locale and defaults to en
self.add_setting(String("lang", Scope.Global, ''))
self.add_setting(String("crs", Scope.Global, 'project', value_list=('2056', '21781', 'project')))
self.add_setting(String("crs", Scope.Global, 'project', allowed_values=('2056', '21781', 'project')))
self.add_setting(Bool("show_map_tip", Scope.Global, True))

self.add_setting(Enum('locations_priority', Scope.Global, QgsLocatorFilter.Highest))
Expand Down

0 comments on commit 18084d3

Please sign in to comment.