Searcher, settings styling
This commit is contained in:
1 parent
44395ff195
commit
322762d702
26 files changed
+8058
-663
No files matched your search
@@ -53,8 +53,9 @@ class Loader:
|
||||
for section in module.config:
|
||||
fireEventAsync('settings.options', section['name'], section)
|
||||
options = {}
|
||||
for key, option in section['options'].iteritems():
|
||||
options[key] = option['default']
|
||||
for group in section['groups']:
|
||||
for option in group['options']:
|
||||
options[option['name']] = option['default']
|
||||
fireEventAsync('settings.register', section_name = section['name'], options = options, save = save)
|
||||
return True
|
||||
except Exception, e:
|
||||
|
||||
Reference in new issue
Block a user