daemon reloads the config on apply

xkb
sezanzeb 4 years ago committed by sezanzeb
parent 0f4ebaa2f0
commit 15a05907c3

@ -122,6 +122,8 @@ class Daemon(service.Object):
preset : string
The name of the preset
"""
# reload the config, since it may have been changed
config.load_config()
if self.injectors.get(device) is not None:
self.injectors[device].stop_injecting()

Loading…
Cancel
Save