Replace .config rather than reconstructing plugins, drivers, and UIs.
[hooke.git] / hooke / plugin / config.py
index 5820dd7e1bead2eda4a127fca2543b25ec71250e..466ca1f32f09c1555182cef0615c58a345a38034 100644 (file)
@@ -88,9 +88,9 @@ class SetCommand (Command):
        hooke.config.set(params['section'], params['option'], params['value'])
         # push config changes
         hooke.load_log()
        hooke.config.set(params['section'], params['option'], params['value'])
         # push config changes
         hooke.load_log()
-        hooke.load_plugins()
-        hooke.load_drivers()
-        hooke.load_ui()  # for post-HookeRunner Hooke return.
+        hooke.configure_plugins()
+        hooke.configure_drivers()
+        hooke.configure_ui()  # for post-HookeRunner Hooke return.
         # notify UI to update config
         outqueue.put(ReloadUserInterfaceConfig(hooke.config))
 
         # notify UI to update config
         outqueue.put(ReloadUserInterfaceConfig(hooke.config))