68
69
70
71
72
73
74
75
76
|
del conf[key]
# add defs
conf.defaults()
for name in module_list():
if not name in conf.plugins:
conf.add_plugin_defaults(plugin_meta(module=name), name)
# show configwin
self.parent.status("Default settings restored. Press [save] to apply them, then restart Streamtuner2.")
self.parent.configwin.open(None)
|
|
|
68
69
70
71
72
73
74
75
76
|
del conf[key]
# add defs
conf.defaults()
for name in module_list():
if not name in conf.plugins:
conf.add_plugin_defaults(plugin_meta(module=name), name)
# show configwin
self.parent.status('<span background="yellow">Default settings restored. Press [save] to apply them, then restart Streamtuner2.</span>', markup=1)
self.parent.configwin.open(None)
|